diff options
author | Mans Rullgard <mans@mansr.com> | 2012-07-29 13:09:10 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-07-29 21:30:57 +0100 |
commit | f3eb00834362273dcb1fd3320faa5f8f5a00fb22 (patch) | |
tree | 2987b75048fa48d5dc6591b16aea3ed7824f20a5 /libavcodec/dsputil.c | |
parent | 591766a3a9c88614b9cb0ed90e25dc6e7d883752 (diff) | |
download | ffmpeg-f3eb00834362273dcb1fd3320faa5f8f5a00fb22.tar.gz |
eamad/eatgq/eatqi: call special EA IDCT directly
These decoders use a special non-MPEG2 IDCT. Call it directly
instead of going through dsputil. There is never any reason
to use a regular IDCT with these decoders or to use the EA IDCT
with other codecs.
This also fixes the bizarre situation of eamad and eatqi decoding
incorrectly if eatgq is disabled.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index 46232d800a..787a46d1ea 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -2711,9 +2711,6 @@ av_cold void ff_dsputil_init(DSPContext* c, AVCodecContext *avctx) c->idct_add= ff_faanidct_add; c->idct = ff_faanidct; c->idct_permutation_type= FF_NO_IDCT_PERM; - }else if(CONFIG_EATGQ_DECODER && avctx->idct_algo==FF_IDCT_EA) { - c->idct_put= ff_ea_idct_put_c; - c->idct_permutation_type= FF_NO_IDCT_PERM; }else{ //accurate/default c->idct_put = ff_simple_idct_put_8; c->idct_add = ff_simple_idct_add_8; |