summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-24 14:06:48 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-24 14:15:55 +0100
commit1d2abca7e1f09ccd2f14b4d452aab584362fad33 (patch)
tree173f310ba380a5f44baf69e0dd9359ebc7b2d55e
parent40c27504a5fdab915118b9742f93944ee5a6862c (diff)
downloadffmpeg-1d2abca7e1f09ccd2f14b4d452aab584362fad33.tar.gz
wmv2enc: drop setting of idct_algo
This should have become redundant Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/wmv2enc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/wmv2enc.c b/libavcodec/wmv2enc.c
index 7ec32c60b5..851d715e39 100644
--- a/libavcodec/wmv2enc.c
+++ b/libavcodec/wmv2enc.c
@@ -55,10 +55,6 @@ 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;