Commit 5ecde93f authored by michael's avatar michael

ref_offset must be added after checking references validity.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21661 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f0ebf8d4
......@@ -434,9 +434,9 @@ single_col:
continue;
}
ref0 = l1ref0[x8 + y8*b8_stride] + ref_offset;
ref0 = l1ref0[x8 + y8*b8_stride];
if(ref0 >= 0)
ref0 = map_col_to_list0[0][ref0];
ref0 = map_col_to_list0[0][ref0 + ref_offset];
else{
ref0 = map_col_to_list0[1][l1ref1[x8 + y8*b8_stride] + ref_offset];
l1mv= l1mv1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment