[mtt] fix reference building for 16x1

This commit is contained in:
Joose Sainio 2022-12-15 12:41:12 +02:00 committed by Marko Viitanen
parent 926ed7e145
commit d296cac7c3

View file

@ -1495,8 +1495,7 @@ void uvg_intra_build_reference_inner(
if (px.y % 4 != 0) { if (px.y % 4 != 0) {
do { do {
out_left_ref[i + 1] = left_border[(i + 0 - multi_ref_index) * left_stride]; out_left_ref[i + 1] = left_border[(i + 0 - multi_ref_index) * left_stride];
out_left_ref[i + 2] = left_border[(i + 1 - multi_ref_index) * left_stride]; i += 1;
i += 2;
} while (i < px_available_left); } while (i < px_available_left);
} }
else { else {