提交 34f3f6d1 编写于 作者: K Kostya Shishkov

Cinepak strip ID is a single byte

Originally committed as revision 16575 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 d94b1f12
...@@ -358,7 +358,7 @@ static int cinepak_decode (CinepakContext *s) ...@@ -358,7 +358,7 @@ static int cinepak_decode (CinepakContext *s)
if ((s->data + 12) > eod) if ((s->data + 12) > eod)
return -1; 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].y1 = y0;
s->strips[i].x1 = 0; s->strips[i].x1 = 0;
s->strips[i].y2 = y0 + AV_RB16 (&s->data[8]); s->strips[i].y2 = y0 + AV_RB16 (&s->data[8]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册