diff ffv1.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 c53ef1f63575
children 20545fbb6f7c
line wrap: on
line diff
--- a/ffv1.c	Wed Sep 20 08:39:56 2006 +0000
+++ b/ffv1.c	Wed Sep 20 21:17:37 2006 +0000
@@ -1027,5 +1027,6 @@
     encode_init,
     encode_frame,
     common_end,
+    .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV444P, PIX_FMT_YUV422P, PIX_FMT_YUV411P, PIX_FMT_YUV410P, PIX_FMT_RGBA32, -1},
 };
 #endif