diff svq1.c @ 2020:a14873a809a8 libavcodec

automatic pixel format selection
author michael
date Wed, 12 May 2004 16:00:44 +0000
parents 93edc9073ffc
children 779dbab120d5
line wrap: on
line diff
--- a/svq1.c	Wed May 12 02:50:48 2004 +0000
+++ b/svq1.c	Wed May 12 16:00:44 2004 +0000
@@ -1933,6 +1933,7 @@
     svq1_decode_frame,
     CODEC_CAP_DR1,
     .flush= ff_mpeg_flush,
+    .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV410P, -1},
 };
 
 #ifdef CONFIG_ENCODERS
@@ -1945,6 +1946,7 @@
     svq1_encode_init,
     svq1_encode_frame,
     svq1_encode_end,
+    .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV410P, -1},
 };
 
 #endif //CONFIG_ENCODERS