From d0a7936710669ed9ff0cda17bb6b1a7d006261d4 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Fri, 5 Jun 2009 08:32:41 +0000 Subject: [PATCH] png decoder use get_buffer, set CODEC_CAP_DR1 Originally committed as revision 19099 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/pngdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index 600953f599..2b8df4edd9 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -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"), };