diff options
author | Mans Rullgard <mans@mansr.com> | 2012-09-04 13:52:01 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-09-07 11:42:35 +0100 |
commit | 6efb698883507b13e90eb9ca03813f928066e5dd (patch) | |
tree | 66a981ead10f27bb3f7f8a1a361bd00f920221a5 /libavcodec/cavsdsp.c | |
parent | 5fe64d88f67637af6037fa864b1c66e41148597c (diff) | |
download | ffmpeg-6efb698883507b13e90eb9ca03813f928066e5dd.tar.gz |
cavsdsp: set idct permutation independently of dsputil
CAVS uses its own idct so using dsputil to set the permutation
is fragile.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/cavsdsp.c')
-rw-r--r-- | libavcodec/cavsdsp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/cavsdsp.c b/libavcodec/cavsdsp.c index 983d9d7f22..bdb8d6d064 100644 --- a/libavcodec/cavsdsp.c +++ b/libavcodec/cavsdsp.c @@ -544,6 +544,7 @@ av_cold void ff_cavsdsp_init(CAVSDSPContext* c, AVCodecContext *avctx) { c->cavs_filter_cv = cavs_filter_cv_c; c->cavs_filter_ch = cavs_filter_ch_c; c->cavs_idct8_add = cavs_idct8_add_c; + c->idct_perm = FF_NO_IDCT_PERM; if (HAVE_MMX) ff_cavsdsp_init_mmx(c, avctx); } |