aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-07-25 00:58:16 -0300
committerJames Almer <jamrial@gmail.com>2017-07-25 00:58:24 -0300
commit4a654be3fb0a2575ce4c7a2a0f6924b5aa23ff93 (patch)
tree45b444535536a3ab77bd97e2853cfcbb06ee66d9
parent805ce25b1d2f08ac4a8e9dcdb9657ad5f5e83d9e (diff)
downloadffmpeg-4a654be3fb0a2575ce4c7a2a0f6924b5aa23ff93.tar.gz
avcodec/mpegvideo_enc: fix mixed declarations and code warning
-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 97257ce98c..918728391d 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -4090,9 +4090,9 @@ static int dct_quantize_trellis_c(MpegEncContext *s,
else mpeg2_qscale = qscale << 1;
if (s->mb_intra) {
+ int q;
scantable= s->intra_scantable.scantable;
perm_scantable= s->intra_scantable.permutated;
- int q;
if (!s->h263_aic) {
if (n < 4)
q = s->y_dc_scale;