goto end;
}
if (s->peak.level)
- peak_table(coeff_data - expected, &s->peak, expected);
+ peak_table(coeff_data - count, &s->peak, count);
if (s->difference_coding)
difference_coding(s->plane[s->channel_num].subband[s->subband_num_actual], highpass_width, highpass_height);