The GIF decoder uses get_buffer, so set DR1.

Originally committed as revision 18990 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2009-05-30 04:07:14 +00:00
parent 54e28a852c
commit 3bbcd0bb8a

View File

@ -335,5 +335,6 @@ AVCodec gif_decoder = {
NULL, NULL,
gif_decode_close, gif_decode_close,
gif_decode_frame, gif_decode_frame,
CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("GIF (Graphics Interchange Format)"), .long_name = NULL_IF_CONFIG_SMALL("GIF (Graphics Interchange Format)"),
}; };