From: Gwenole Beauchesne Date: Fri, 27 Feb 2009 15:49:32 +0000 (+0000) Subject: Use ff_hwaccel_pixfmt_list_420[] in H.263 decoder. X-Git-Tag: v0.5~94 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a4f3fdfa8310d0616f31875b1dc8782fb7b7f37a;p=platform%2Fupstream%2Flibav.git Use ff_hwaccel_pixfmt_list_420[] in H.263 decoder. Patch by Gwenolé Beauchesne. Originally committed as revision 17645 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 9a7b84a..3cca95d 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -740,7 +740,7 @@ AVCodec mpeg4_decoder = { CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, .flush= ff_mpeg_flush, .long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2"), - .pix_fmts= ff_pixfmt_list_420, + .pix_fmts= ff_hwaccel_pixfmt_list_420, }; AVCodec h263_decoder = { @@ -755,7 +755,7 @@ AVCodec h263_decoder = { CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, .flush= ff_mpeg_flush, .long_name= NULL_IF_CONFIG_SMALL("H.263 / H.263-1996, H.263+ / H.263-1998"), - .pix_fmts= ff_pixfmt_list_420, + .pix_fmts= ff_hwaccel_pixfmt_list_420, }; AVCodec msmpeg4v1_decoder = {