changeset 9803:3768b0da80b8 libavcodec

png decoder use get_buffer, set CODEC_CAP_DR1
author bcoudurier
date Fri, 05 Jun 2009 08:32:41 +0000
parents aebbb6c631b6
children 00581e706e1d
files pngdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pngdec.c	Fri Jun 05 08:29:29 2009 +0000
+++ b/pngdec.c	Fri Jun 05 08:32:41 2009 +0000
@@ -647,7 +647,7 @@
     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"),
 };