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_crop | |
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_crop')
-rw-r--r-- | tests/ref/lavfi/pixfmts_crop | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ref/lavfi/pixfmts_crop b/tests/ref/lavfi/pixfmts_crop index fb5c838a4e..e3bb88c101 100644 --- a/tests/ref/lavfi/pixfmts_crop +++ b/tests/ref/lavfi/pixfmts_crop @@ -29,12 +29,12 @@ yuv420p bfea0188ddd4889787c403caae119cc7 yuv420p16be 8365eff38b8c329aeb95fc605fa229bb yuv420p16le 5e8dd38d973d5854abe1ad4efad20cc1 yuv422p f2f930a91fe00d4252c4720b5ecd8961 -yuv422p16be 6647fe1c381c148f8207c988c0e22bf0 -yuv422p16le e1548c9dc51202db38a9625c8954203f +yuv422p16be 93f9b6f33f9529db6de6a9f0ddd70eb5 +yuv422p16le 2e66dcfec54ca6b57aa4bbd9ac234639 yuv440p 2472417d980e395ad6843cbb8b633b29 yuv444p 1f151980486848c96bc5585ced99003e -yuv444p16be 02d78b564a23df2f68cf6895d3bfe6bf -yuv444p16le cbea9591b954ea31d6a0cb25a9aed599 +yuv444p16be e7d1ecf0c11a41b5db192f761f55bd3c +yuv444p16le 3298a0043d982e7cf1a33a1292fa11f0 yuva420p 7536753dfbc7932560fb50c921369a0e yuvj420p 21f891093006d42d7683b0e1d773a657 yuvj422p 9a43d474c407590ad8f213880586b45e |