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
This commit is contained in:
Gwenole Beauchesne 2009-02-27 15:49:32 +00:00 committed by Benoit Fouet
parent 6026a0968a
commit a4f3fdfa83

View File

@ -740,7 +740,7 @@ AVCodec mpeg4_decoder = {
CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY,
.flush= ff_mpeg_flush, .flush= ff_mpeg_flush,
.long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2"), .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 = { AVCodec h263_decoder = {
@ -755,7 +755,7 @@ AVCodec h263_decoder = {
CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY,
.flush= ff_mpeg_flush, .flush= ff_mpeg_flush,
.long_name= NULL_IF_CONFIG_SMALL("H.263 / H.263-1996, H.263+ / H.263-1998"), .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 = { AVCodec msmpeg4v1_decoder = {