-
- Downloads
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.
Showing
- libswscale/swscale.c 9 additions, 9 deletionslibswscale/swscale.c
- tests/ref/lavfi/pixdesc 4 additions, 4 deletionstests/ref/lavfi/pixdesc
- tests/ref/lavfi/pixfmts_copy 4 additions, 4 deletionstests/ref/lavfi/pixfmts_copy
- tests/ref/lavfi/pixfmts_crop 4 additions, 4 deletionstests/ref/lavfi/pixfmts_crop
- tests/ref/lavfi/pixfmts_hflip 4 additions, 4 deletionstests/ref/lavfi/pixfmts_hflip
- tests/ref/lavfi/pixfmts_null 4 additions, 4 deletionstests/ref/lavfi/pixfmts_null
- tests/ref/lavfi/pixfmts_scale 8 additions, 8 deletionstests/ref/lavfi/pixfmts_scale
- tests/ref/lavfi/pixfmts_vflip 4 additions, 4 deletionstests/ref/lavfi/pixfmts_vflip
Loading
Please register or sign in to comment