Cinepak strip ID is a single byte

Originally committed as revision 16575 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Kostya Shishkov 2009-01-13 08:00:37 +00:00
parent d94b1f12c5
commit 34f3f6d129

View File

@ -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]);