Displaying 1 result from an estimated 1 matches for "fragcodingmethod".
2006 Oct 09
0
ReconRefFrames() - Possible Bug?
...from same frame as the one we are predicting */
for(k=pcount=wpc=0; k<4; k++) {
int pflag;
pflag=1<<k;
if((bc_mask[WhichCase]&pflag) &&
pbi->display_fragments[fn[k]] &&
(Mode2Frame[pbi->FragCodingMethod[fn[k]]] ==
WhichFrame)){
v[pcount]=pbi->QFragData[fn[k]][0];
wpc|=pflag;
pcount++;
}
}
In the If statement the fn[k] value can be negative and the code tries
to access elements before 0.
Is this supposed to ha...