comparison pngdec.c @ 9803:3768b0da80b8 libavcodec

png decoder use get_buffer, set CODEC_CAP_DR1
author bcoudurier
date Fri, 05 Jun 2009 08:32:41 +0000
parents 05cf2547e0f0
children 06e12f9b93d7
comparison
equal deleted inserted replaced
9802:aebbb6c631b6 9803:3768b0da80b8
645 sizeof(PNGDecContext), 645 sizeof(PNGDecContext),
646 png_dec_init, 646 png_dec_init,
647 NULL, 647 NULL,
648 NULL, //decode_end, 648 NULL, //decode_end,
649 decode_frame, 649 decode_frame,
650 0 /*CODEC_CAP_DR1*/ /*| CODEC_CAP_DRAW_HORIZ_BAND*/, 650 CODEC_CAP_DR1 /*| CODEC_CAP_DRAW_HORIZ_BAND*/,
651 NULL, 651 NULL,
652 .long_name = NULL_IF_CONFIG_SMALL("PNG image"), 652 .long_name = NULL_IF_CONFIG_SMALL("PNG image"),
653 }; 653 };