aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-03-25 00:12:24 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-03-25 00:12:24 +0000
commitea82552c09b5c35528d0d8d79ed6b2879e5e3299 (patch)
tree2ab0766bb95cc37520aeb8600f6083824bd961fa /libavcodec
parent877519f550b8b8bfc227f1e5233a455b0dac1e06 (diff)
downloadffmpeg-ea82552c09b5c35528d0d8d79ed6b2879e5e3299.tar.gz
return error if loop has ended before decoding image
Originally committed as revision 8503 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/gifdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/gifdec.c b/libavcodec/gifdec.c
index 4d08b76aed..386c039c9c 100644
--- a/libavcodec/gifdec.c
+++ b/libavcodec/gifdec.c
@@ -273,6 +273,7 @@ static int gif_parse_next_image(GifState *s)
return -1;
}
}
+ return -1;
}
static int gif_decode_init(AVCodecContext *avctx)