summaryrefslogtreecommitdiff
path: root/libavcodec/eaidct.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-07-29 13:09:10 +0100
committerMans Rullgard <mans@mansr.com>2012-07-29 21:30:57 +0100
commitf3eb00834362273dcb1fd3320faa5f8f5a00fb22 (patch)
tree2987b75048fa48d5dc6591b16aea3ed7824f20a5 /libavcodec/eaidct.c
parent591766a3a9c88614b9cb0ed90e25dc6e7d883752 (diff)
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/eaidct.c')
-rw-r--r--libavcodec/eaidct.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/eaidct.c b/libavcodec/eaidct.c
index 9d829c4161..5e628b09d0 100644
--- a/libavcodec/eaidct.c
+++ b/libavcodec/eaidct.c
@@ -26,6 +26,7 @@
*/
#include "dsputil.h"
+#include "eaidct.h"
#define ASQRT 181 /* (1/sqrt(2))<<8 */
#define A4 669 /* cos(pi/8)*sqrt(2)<<9 */