summaryrefslogtreecommitdiff
path: root/libavcodec/x86/mpegvideoenc_template.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/x86/mpegvideoenc_template.c
parentc0de9159a7ba5707aa0a5c2bc73ae78b7b87ec46 (diff)
idct: Convert IDCT permutation #defines to an enum
Also rename the enum values to be consistent with other DCT permutations.
Diffstat (limited to 'libavcodec/x86/mpegvideoenc_template.c')
-rw-r--r--libavcodec/x86/mpegvideoenc_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/mpegvideoenc_template.c b/libavcodec/x86/mpegvideoenc_template.c
index 4a17ff3da7..87965fe114 100644
--- a/libavcodec/x86/mpegvideoenc_template.c
+++ b/libavcodec/x86/mpegvideoenc_template.c
@@ -229,7 +229,7 @@ static int RENAME(dct_quantize)(MpegEncContext *s,
if(s->mb_intra) block[0]= level;
else block[0]= temp_block[0];
- if (s->idsp.idct_permutation_type == FF_SIMPLE_IDCT_PERM) {
+ if (s->idsp.perm_type == FF_IDCT_PERM_SIMPLE) {
if(last_non_zero_p1 <= 1) goto end;
block[0x08] = temp_block[0x01]; block[0x10] = temp_block[0x08];
block[0x20] = temp_block[0x10];