You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
tests/checkasm/sw_rgb: remove bogus value truncation in check_yuv2packed1()
Fixes out of array accesses. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@ -571,8 +571,6 @@ static void check_yuv2packed1(void)
|
||||
src_a[i] &= 0x3FFF3FFF;
|
||||
src_u[i] &= 0x3FFF3FFF;
|
||||
src_v[i] &= 0x3FFF3FFF;
|
||||
src_u[i + INPUT_SIZE] &= 0x3FFF3FFF;
|
||||
src_v[i + INPUT_SIZE] &= 0x3FFF3FFF;
|
||||
}
|
||||
|
||||
luma = (int16_t *)src_y;
|
||||
|
Reference in New Issue
Block a user