Mercurial > libavcodec.hg
comparison wmv2.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 | de0ed6497a13 |
children | b5436ea83910 |
comparison
equal
deleted
inserted
replaced
3739:57ff26561bd7 | 3740:0082fb8c77b6 |
---|---|
846 CODEC_ID_WMV2, | 846 CODEC_ID_WMV2, |
847 sizeof(Wmv2Context), | 847 sizeof(Wmv2Context), |
848 wmv2_encode_init, | 848 wmv2_encode_init, |
849 MPV_encode_picture, | 849 MPV_encode_picture, |
850 MPV_encode_end, | 850 MPV_encode_end, |
851 .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUVJ420P, -1}, | |
851 }; | 852 }; |
852 #endif | 853 #endif |