[Ffmpeg-cvslog] r8775 - trunk/libavcodec/gifdec.c
bcoudurier
subversion
Sat Apr 21 20:47:30 CEST 2007
Author: bcoudurier
Date: Sat Apr 21 20:47:30 2007
New Revision: 8775
Modified:
trunk/libavcodec/gifdec.c
Log:
simplify, patch by Mark Cox, melbournemark plus ffmpeg minus devel gmail com
Modified: trunk/libavcodec/gifdec.c
==============================================================================
--- trunk/libavcodec/gifdec.c (original)
+++ trunk/libavcodec/gifdec.c Sat Apr 21 20:47:30 2007
@@ -258,16 +258,13 @@ static int gif_parse_next_image(GifState
#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;
More information about the ffmpeg-cvslog
mailing list