automatic pixel format selection

Originally committed as revision 3131 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2004-05-12 16:00:44 +00:00
parent 4a1b9ba0dd
commit fcee016467
3 changed files with 16 additions and 1 deletions

View File

@ -1933,6 +1933,7 @@ AVCodec svq1_decoder = {
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 @@ AVCodec svq1_encoder = {
svq1_encode_init,
svq1_encode_frame,
svq1_encode_end,
.pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV410P, -1},
};
#endif //CONFIG_ENCODERS