return error if loop has ended before decoding image

Originally committed as revision 8503 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2007-03-25 00:12:24 +00:00
parent 877519f550
commit ea82552c09
1 changed files with 1 additions and 0 deletions

View File

@ -273,6 +273,7 @@ static int gif_parse_next_image(GifState *s)
return -1;
}
}
return -1;
}
static int gif_decode_init(AVCodecContext *avctx)