mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
fate: Use wmv2 IDCT for wmv2 tests
This commit is contained in:
committed by
Luca Barbato
parent
1768e43ceb
commit
ce378f0dd0
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user