fate: Use wmv2 IDCT for wmv2 tests

This commit is contained in:
Ronald S. Bultje
2013-01-19 12:04:06 -08:00
committed by Luca Barbato
parent 1768e43ceb
commit ce378f0dd0
3 changed files with 9 additions and 3 deletions
+4
View File
@@ -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;