aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo_enc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-07-18 21:55:55 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-07-18 22:01:17 +0200
commit42d326353c17085a98f0e81844f0c6320d70e8f3 (patch)
treeb3ca4f4affde4d81b6e6f826828fdbaecb9d2a17 /libavcodec/mpegvideo_enc.c
parentf6ed5df9c00c3fda2571ccc75e3055c215e4fc1a (diff)
parentb4987f72197e0c62cf2633bf835a9c32d2a445ae (diff)
downloadffmpeg-42d326353c17085a98f0e81844f0c6320d70e8f3.tar.gz
Merge commit 'b4987f72197e0c62cf2633bf835a9c32d2a445ae'
* commit 'b4987f72197e0c62cf2633bf835a9c32d2a445ae': idct: Convert IDCT permutation #defines to an enum Conflicts: libavcodec/idctdsp.c libavcodec/x86/cavsdsp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpegvideo_enc.c')
-rw-r--r--libavcodec/mpegvideo_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index cf873b1c4c..7fa568792d 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -4463,7 +4463,7 @@ int ff_dct_quantize_c(MpegEncContext *s,
*overflow= s->max_qcoeff < max; //overflow might have happened
/* we need this permutation so that we correct the IDCT, we only permute the !=0 elements */
- if (s->idsp.idct_permutation_type != FF_NO_IDCT_PERM)
+ if (s->idsp.perm_type != FF_IDCT_PERM_NONE)
ff_block_permute(block, s->idsp.idct_permutation,
scantable, last_non_zero);