changeset 9042:3ad936ae491a libavcodec

Fix VC1 and WMV3 playback in MPlayer.
author cehoyos
date Wed, 25 Feb 2009 15:43:53 +0000
parents 05e82eb11983
children 47e456d3f15b
files vc1.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vc1.c	Wed Feb 25 08:36:00 2009 +0000
+++ b/vc1.c	Wed Feb 25 15:43:53 2009 +0000
@@ -4348,6 +4348,7 @@
     CODEC_CAP_DELAY,
     NULL,
     .long_name = NULL_IF_CONFIG_SMALL("SMPTE VC-1"),
+    .pix_fmts = ff_pixfmt_list_420
 };
 
 AVCodec wmv3_decoder = {
@@ -4362,6 +4363,7 @@
     CODEC_CAP_DELAY,
     NULL,
     .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9"),
+    .pix_fmts = ff_pixfmt_list_420
 };
 
 #if CONFIG_WMV3_VDPAU_DECODER