diff wmv2.c @ 3740:0082fb8c77b6 libavcodec

set supported pixel formats for a few encoders (fixes crashes with grayscale)
author michael
date Wed, 20 Sep 2006 21:17:37 +0000
parents de0ed6497a13
children b5436ea83910
line wrap: on
line diff
--- a/wmv2.c	Wed Sep 20 08:39:56 2006 +0000
+++ b/wmv2.c	Wed Sep 20 21:17:37 2006 +0000
@@ -848,5 +848,6 @@
     wmv2_encode_init,
     MPV_encode_picture,
     MPV_encode_end,
+    .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUVJ420P, -1},
 };
 #endif