diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2011-07-08 14:57:07 -0700 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-07-08 15:15:30 -0700 |
commit | 7d7bacf0f1f43f5cc112977fc3b8438e3e4a4a9b (patch) | |
tree | 522858daab38897c92fde6edd506c883177c8e8d /tests/ref/lavfi/pixfmts_null | |
parent | bf2cba453244a74331238a472fe0e309f116f4d9 (diff) | |
download | ffmpeg-7d7bacf0f1f43f5cc112977fc3b8438e3e4a4a9b.tar.gz |
swscale: fix overflow in 16-bit vertical scaling.
We operated on 31-bits, but with e.g. lanczos scaling, values can
add up to beyond 0x80000000, thus leading to output of zeroes. Drop
one bit of precision fixes this.
Diffstat (limited to 'tests/ref/lavfi/pixfmts_null')
-rw-r--r-- | tests/ref/lavfi/pixfmts_null | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ref/lavfi/pixfmts_null b/tests/ref/lavfi/pixfmts_null index 76d845abb8..a82f8ed9b6 100644 --- a/tests/ref/lavfi/pixfmts_null +++ b/tests/ref/lavfi/pixfmts_null @@ -38,12 +38,12 @@ yuv420p16le 2d59c4f1d0314a5a957a7cfc4b6fabcc yuv420p9be ce880fa07830e5297c22acf6e20555ce yuv420p9le 16543fda8f87d94a6cf857d2e8d4461a yuv422p c9bba4529821d796a6ab09f6a5fd355a -yuv422p16be 86ad3447f97969ce095afeef81fa9abf -yuv422p16le a53a9b451f4a81eeae33362c1bbd07f8 +yuv422p16be dc9886f2fccf87cc54b27e071a2c251e +yuv422p16le f181c8d8436f1233ba566d9bc88005ec yuv440p 5a064afe2b453bb52cdb3f176b1aa1cf yuv444p 0a98447b78fd476aa39686da6a74fa2e -yuv444p16be 2a8e2bddfe4c208df4119aaa7dc5db28 -yuv444p16le f2117fc9cf66d3a832183e159ff71803 +yuv444p16be af555dbaa401b142a995566864f47545 +yuv444p16le a803e8016997dad95c5b2a72f54c34d6 yuva420p a29884f3f3dfe1e00b961bc17bef3d47 yuvj420p 32eec78ba51857b16ce9b813a49b7189 yuvj422p 0dfa0ed434f73be51428758c69e082cb |