diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-09-20 21:17:37 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-09-20 21:17:37 +0000 |
commit | c3e462a8ca8127acacd0848c2e6ea4a45e628cd7 (patch) | |
tree | 2099345f730ef8a56e97941ff963cc5dc7afc64f /libavcodec/asv1.c | |
parent | 56f68a4112ccb909b96981d4128a3e81eec212e2 (diff) | |
download | ffmpeg-c3e462a8ca8127acacd0848c2e6ea4a45e628cd7.tar.gz |
set supported pixel formats for a few encoders (fixes crashes with grayscale)
Originally committed as revision 6303 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/asv1.c')
-rw-r--r-- | libavcodec/asv1.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/asv1.c b/libavcodec/asv1.c index 3cfb76e65e..cf65d172cb 100644 --- a/libavcodec/asv1.c +++ b/libavcodec/asv1.c @@ -632,6 +632,7 @@ AVCodec asv1_encoder = { encode_init, encode_frame, //encode_end, + .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1}, }; AVCodec asv2_encoder = { @@ -642,6 +643,7 @@ AVCodec asv2_encoder = { encode_init, encode_frame, //encode_end, + .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1}, }; #endif //CONFIG_ENCODERS |