Commit 34f3f6d1 authored by Kostya Shishkov's avatar Kostya Shishkov
Browse files

Cinepak strip ID is a single byte

Originally committed as revision 16575 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d94b1f12
......@@ -358,7 +358,7 @@ static int cinepak_decode (CinepakContext *s)
if ((s->data + 12) > eod)
return -1;
s->strips[i].id = AV_RB16 (s->data);
s->strips[i].id = s->data[0];
s->strips[i].y1 = y0;
s->strips[i].x1 = 0;
s->strips[i].y2 = y0 + AV_RB16 (&s->data[8]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment