Commit 4a654be3 authored by James Almer's avatar James Almer

avcodec/mpegvideo_enc: fix mixed declarations and code warning

parent 805ce25b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment