Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-08-08 14:10:05 +0400
committerDiego Biurrun <diego@biurrun.de>2014-08-08 22:13:29 +0400
commit84d173d3de97c753234ab0c0b50551d51413d663 (patch)
tree4301eb885aac7e4c06340a1d831898e58301bc9a /libavcodec/xvididct.c
parent6f1960ab71b4f18551243ce22d01913108265233 (diff)
xvididct: Ensure that the scantable permutation is always set correctly
This fixes cases where the scantable permuation would get overwritten by the general idctdsp initialization.
Diffstat (limited to 'libavcodec/xvididct.c')
-rw-r--r--libavcodec/xvididct.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/xvididct.c b/libavcodec/xvididct.c
index 1453e51700..7e8edc2462 100644
--- a/libavcodec/xvididct.c
+++ b/libavcodec/xvididct.c
@@ -33,4 +33,6 @@ av_cold void ff_xvididct_init(IDCTDSPContext *c, AVCodecContext *avctx)
if (ARCH_X86)
ff_xvididct_init_x86(c);
+
+ ff_init_scantable_permutation(c->idct_permutation, c->perm_type);
}