mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
intra: Do not use ambiguous - position
Clang warns about it.
This commit is contained in:
parent
6fec5ff25e
commit
0e67f6ffa5
|
@ -593,7 +593,7 @@ void intra_get_angular_pred(pixel* src, int32_t src_stride, pixel* dst, int32_t
|
||||||
ref_side = (mode_ver ? ref_left : ref_above) + (blk_size - 1);
|
ref_side = (mode_ver ? ref_left : ref_above) + (blk_size - 1);
|
||||||
|
|
||||||
// Extend the Main reference to the left.
|
// Extend the Main reference to the left.
|
||||||
for (k =- 1; k > blk_size * intra_pred_angle>>5; k--) {
|
for (k = -1; k > blk_size * intra_pred_angle>>5; k--) {
|
||||||
invAngleSum += inv_angle;
|
invAngleSum += inv_angle;
|
||||||
ref_main[k] = ref_side[invAngleSum>>8];
|
ref_main[k] = ref_side[invAngleSum>>8];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue