mirror of https://git.ffmpeg.org/ffmpeg.git
atrac3: Replace a silly counter variable name with plain 'j'
This commit is contained in:
parent
451606f7ce
commit
be0b4c70ec
|
@ -417,7 +417,7 @@ static int decode_tonal_components(GetBitContext *gb,
|
||||||
static int decode_gain_control(GetBitContext *gb, GainBlock *block,
|
static int decode_gain_control(GetBitContext *gb, GainBlock *block,
|
||||||
int num_bands)
|
int num_bands)
|
||||||
{
|
{
|
||||||
int i, cf, num_data;
|
int i, j, num_data;
|
||||||
int *level, *loc;
|
int *level, *loc;
|
||||||
|
|
||||||
GainInfo *gain = block->g_block;
|
GainInfo *gain = block->g_block;
|
||||||
|
@ -428,10 +428,10 @@ static int decode_gain_control(GetBitContext *gb, GainBlock *block,
|
||||||
level = gain[i].lev_code;
|
level = gain[i].lev_code;
|
||||||
loc = gain[i].loc_code;
|
loc = gain[i].loc_code;
|
||||||
|
|
||||||
for (cf = 0; cf < gain[i].num_gain_data; cf++) {
|
for (j = 0; j < gain[i].num_gain_data; j++) {
|
||||||
level[cf] = get_bits(gb, 4);
|
level[j] = get_bits(gb, 4);
|
||||||
loc [cf] = get_bits(gb, 5);
|
loc[j] = get_bits(gb, 5);
|
||||||
if (cf && loc[cf] <= loc[cf - 1])
|
if (j && loc[j] <= loc[j - 1])
|
||||||
return AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue