mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-12-01 07:20:58 +00:00
avcodec/j2kenc: Initialize variable to silence compiler warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
589a6042ea
commit
b020a25df2
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user