png decoder use get_buffer, set CODEC_CAP_DR1

Originally committed as revision 19099 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2009-06-05 08:32:41 +00:00
parent f1cdd863a5
commit d0a7936710

View File

@ -647,7 +647,7 @@ AVCodec png_decoder = {
NULL,
NULL, //decode_end,
decode_frame,
0 /*CODEC_CAP_DR1*/ /*| CODEC_CAP_DRAW_HORIZ_BAND*/,
CODEC_CAP_DR1 /*| CODEC_CAP_DRAW_HORIZ_BAND*/,
NULL,
.long_name = NULL_IF_CONFIG_SMALL("PNG image"),
};