[Ffmpeg-devel] [PATCH] Patch to simplify gif_parse_next_image in libavformat/gifdec.c
Baptiste Coudurier
baptiste.coudurier
Sun Apr 22 03:17:04 CEST 2007
mark cox a ?crit :
> [...]
>
> @@ -499,27 +499,19 @@
> #endif
> switch (code) {
> case ',':
> - if (gif_read_image(s) < 0)
> - return AVERROR_IO;
> - ret = 0;
> - goto the_end;
> - case ';':
> - /* end of image */
> - ret = AVERROR_IO;
> - goto the_end;
> + return gif_read_image(s);
> case '!':
> if (gif_read_extension(s) < 0)
> return AVERROR_IO;
> break;
> + case ';':
> + /* end of image */
> case EOF:
That hunk was already applied.
> default:
> /* error or errneous EOF */
> - ret = AVERROR_IO;
> - goto the_end;
> + return AVERROR_IO;
> }
> }
> - the_end:
> - return ret;
> }
This is not latest svn, please update.
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
More information about the ffmpeg-devel
mailing list