Maybe a bug

Elio Blanca <[email protected]> Thu, 06 Feb 2014 23:39:12 +0100
Newsgroups gmane.comp.video.xvid.devel
Message-ID <[email protected]>
I see in xvid_encraw.c statement 1066:

for (i=0; i < 8; i++) {
     int l;
     framestats[i].count += enc_data[k].framestats[i].count;
     framestats[i].size += enc_data[k].framestats[i].size;
     for (l=0; l < 32; l++)
     framestats[i].quants[l] += enc_data[k].framestats[i].quants[l];
}


but the array `framestats' has been declared as:

frame_stats_t framestats[7];

both in statement 167 and 344. Maybe that `8' had to be `7' ?
Elio