aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-06-05 08:32:41 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-06-05 08:32:41 +0000
commitd0a7936710669ed9ff0cda17bb6b1a7d006261d4 (patch)
tree88b5b605363d686e401997ae9dfdecd4d892e766
parentf1cdd863a5d20c91b2bb71ab4d6cbc365f16b0aa (diff)
downloadffmpeg-d0a7936710669ed9ff0cda17bb6b1a7d006261d4.tar.gz
png decoder use get_buffer, set CODEC_CAP_DR1
Originally committed as revision 19099 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/pngdec.c2
1 files changed, 1 insertions, 1 deletions
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"),
};