diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 15:04:58 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 15:04:58 +0100 |
commit | 8943925d1f68316218a9722c3f275ae1ae29b325 (patch) | |
tree | 455f017242d1ab01e0eb2e4ae981b79e986e2015 /libavcodec/gifdec.c | |
parent | 329675cfd71fab29e47ea9c64f3560f0305dbf36 (diff) | |
parent | 688b132b881d423877e38dc82f17e23a604be676 (diff) | |
download | ffmpeg-8943925d1f68316218a9722c3f275ae1ae29b325.tar.gz |
Merge commit '688b132b881d423877e38dc82f17e23a604be676'
* commit '688b132b881d423877e38dc82f17e23a604be676':
qdrw: return meaningful error codes.
qtrle: return a meaningful error code.
gifdec: return meaningful error codes.
interplayvideo: remove a static variable.
interplayvideo: return meaningful error codes.
lcldec: return meaningful error codes.
targa: return meaningful error codes.
qpeg: return a meaningful error code.
nuv: return meaningful error codes.
Conflicts:
libavcodec/gifdec.c
libavcodec/interplayvideo.c
libavcodec/nuv.c
libavcodec/qpeg.c
libavcodec/targa.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/gifdec.c')
-rw-r--r-- | libavcodec/gifdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/gifdec.c b/libavcodec/gifdec.c index e5e84aea12..b0254decd1 100644 --- a/libavcodec/gifdec.c +++ b/libavcodec/gifdec.c @@ -410,10 +410,11 @@ static int gif_read_header1(GifState *s) static int gif_parse_next_image(GifState *s, int *got_picture) { - int ret; + *got_picture = 1; while (bytestream2_get_bytes_left(&s->gb)) { int code = bytestream2_get_byte(&s->gb); + int ret; av_dlog(s->avctx, "code=%02x '%c'\n", code, code); |