aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/wmv2.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-02-18 11:30:55 +0100
committerDiego Biurrun <diego@biurrun.de>2014-07-18 07:51:03 -0700
commitb4987f72197e0c62cf2633bf835a9c32d2a445ae (patch)
tree4e8cce0604eeea25ac63f7fe345b572bac6f6ac8 /libavcodec/wmv2.c
parentc0de9159a7ba5707aa0a5c2bc73ae78b7b87ec46 (diff)
downloadffmpeg-b4987f72197e0c62cf2633bf835a9c32d2a445ae.tar.gz
idct: Convert IDCT permutation #defines to an enum
Also rename the enum values to be consistent with other DCT permutations.
Diffstat (limited to 'libavcodec/wmv2.c')
-rw-r--r--libavcodec/wmv2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wmv2.c b/libavcodec/wmv2.c
index b6c7bc0a9f..7b1ea57c05 100644
--- a/libavcodec/wmv2.c
+++ b/libavcodec/wmv2.c
@@ -31,7 +31,7 @@ av_cold void ff_wmv2_common_init(Wmv2Context * w){
ff_blockdsp_init(&s->bdsp, s->avctx);
ff_wmv2dsp_init(&w->wdsp);
- s->idsp.idct_permutation_type = w->wdsp.idct_perm;
+ s->idsp.perm_type = w->wdsp.idct_perm;
ff_init_scantable_permutation(s->idsp.idct_permutation,
w->wdsp.idct_perm);
ff_init_scantable(s->idsp.idct_permutation, &w->abt_scantable[0],