changeset 3534:f76861f4d5ca libavcodec

set supported pixel formats correctly
author michael
date Wed, 02 Aug 2006 22:48:50 +0000
parents 0937cc91b574
children a14c98a0ca3d
files huffyuv.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/huffyuv.c	Wed Aug 02 21:37:38 2006 +0000
+++ b/huffyuv.c	Wed Aug 02 22:48:50 2006 +0000
@@ -1255,6 +1255,7 @@
     encode_init,
     encode_frame,
     encode_end,
+    .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV422P, -1},
 };
 
 AVCodec ffvhuff_encoder = {
@@ -1265,6 +1266,7 @@
     encode_init,
     encode_frame,
     encode_end,
+    .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, -1},
 };
 
 #endif //CONFIG_ENCODERS