Commit b020a25d authored by Himangi Saraogi's avatar Himangi Saraogi Committed by Michael Niedermayer

avcodec/j2kenc: Initialize variable to silence compiler warnings

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 589a6042
......@@ -430,7 +430,7 @@ static void init_quantization(Jpeg2000EncoderContext *s)
int nbands, lev = codsty->nreslevels - reslevelno - 1;
nbands = reslevelno ? 3 : 1;
for (bandno = 0; bandno < nbands; bandno++, gbandno++){
int expn, mant;
int expn, mant = 0;
if (codsty->transform == FF_DWT97_INT){
int bandpos = bandno + (reslevelno>0),
......
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