Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -547,7 +547,7 @@ static double ssim360_db(double ssim360, double weight) · 546 unmodified lines | ||
| 547 | 547 | static int get_bilinear_sample(const uint8_t *data, BilinearMap *m, int max_value) |
| 548 | 548 | { |
| 549 | 549 | static const int fixed_point_half = 1 << (FIXED_POINT_PRECISION - 1); |
| 550 | − static const int inv_byte_mask = (-1) << 8; | |
| 550 | + static const int inv_byte_mask = UINT_MAX << 8; | |
| 551 | 551 | |
| 552 | 552 | int tl, tr, bl, br, v; |
| 553 | 553 | |