提交 94cebc56 编写于 作者: M Mark Cox 提交者: Baptiste Coudurier

simplify, patch by Mark Cox, melbournemark plus ffmpeg minus devel gmail com

Originally committed as revision 8775 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 1c02d96f
......@@ -258,16 +258,13 @@ static int gif_parse_next_image(GifState *s)
#endif
switch (code) {
case ',':
if (gif_read_image(s) < 0)
return -1;
return 0;
case ';':
/* end of image */
return -1;
return gif_read_image(s);
case '!':
if (gif_read_extension(s) < 0)
return -1;
break;
case ';':
/* end of image */
default:
/* error or erroneous EOF */
return -1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册