comparison 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
comparison
equal deleted inserted replaced
3739:57ff26561bd7 3740:0082fb8c77b6
1025 CODEC_ID_FFV1, 1025 CODEC_ID_FFV1,
1026 sizeof(FFV1Context), 1026 sizeof(FFV1Context),
1027 encode_init, 1027 encode_init,
1028 encode_frame, 1028 encode_frame,
1029 common_end, 1029 common_end,
1030 .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV444P, PIX_FMT_YUV422P, PIX_FMT_YUV411P, PIX_FMT_YUV410P, PIX_FMT_RGBA32, -1},
1030 }; 1031 };
1031 #endif 1032 #endif