return error if loop has ended before decoding image

Originally committed as revision 8503 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Baptiste Coudurier 18 years ago
parent 877519f550
commit ea82552c09
  1. 1
      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)

Loading…
Cancel
Save