diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2013-01-19 12:04:06 -0800 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-01-21 07:35:54 +0100 |
commit | ce378f0dd0c4e5350b3280e6b3e8d6b46fe4b0a3 (patch) | |
tree | 260162565f73fb25af1baf64b0dad863803abe55 /libavcodec | |
parent | 1768e43cebd646174bb1366611da575052989e0a (diff) | |
download | ffmpeg-ce378f0dd0c4e5350b3280e6b3e8d6b46fe4b0a3.tar.gz |
fate: Use wmv2 IDCT for wmv2 tests
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/wmv2enc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/wmv2enc.c b/libavcodec/wmv2enc.c index 4643835145..ee6136b265 100644 --- a/libavcodec/wmv2enc.c +++ b/libavcodec/wmv2enc.c @@ -55,6 +55,10 @@ static int encode_ext_header(Wmv2Context *w){ static av_cold int wmv2_encode_init(AVCodecContext *avctx){ Wmv2Context * const w= avctx->priv_data; + if(avctx->idct_algo==FF_IDCT_AUTO){ + avctx->idct_algo=FF_IDCT_WMV2; + } + if(ff_MPV_encode_init(avctx) < 0) return -1; |