[FFmpeg-cvslog] r17645 - trunk/libavcodec/h263dec.c

benoit subversion
Fri Feb 27 16:49:32 CET 2009


Author: benoit
Date: Fri Feb 27 16:49:32 2009
New Revision: 17645

Log:
Use ff_hwaccel_pixfmt_list_420[] in H.263 decoder.
Patch by Gwenol? Beauchesne.

Modified:
   trunk/libavcodec/h263dec.c

Modified: trunk/libavcodec/h263dec.c
==============================================================================
--- trunk/libavcodec/h263dec.c	Fri Feb 27 16:45:55 2009	(r17644)
+++ trunk/libavcodec/h263dec.c	Fri Feb 27 16:49:32 2009	(r17645)
@@ -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 = {




More information about the ffmpeg-cvslog mailing list