[FFmpeg-devel] avcodec: add a WavPack DSD decoder
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Mon Jul 22 04:16:00 EEST 2019
Lynne:
> Jul 22, 2019, 12:03 AM by david at wavpack.com:
>> + for (p0 = 0; p0 < history_bins; ++p0) {
>> + int32_t sum_values;
>> + unsigned char *vp;
>> +
>> + for (sum_values = i = 0; i < 256; ++i)
>> + s->summed_probabilities [p0] [i] = sum_values += s->probabilities [p0] [i];
>
> sum_values is uninitialized. Does you compiler not warn about this?
>
You apparently overlooked "sum_values = i = 0;"
- Andreas
More information about the ffmpeg-devel
mailing list