diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2011-07-08 14:57:07 -0700 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-07-11 03:51:46 +0200 |
commit | 93a10dd56121862fab13aa6676227673c534cc12 (patch) | |
tree | a6a58a6510b73c59596531457a61da46410dad71 /libavcodec/ppc/mpegaudiodec_altivec.c | |
parent | 71a04bc19dfb990d3f7cce82b5516e88d2c371f4 (diff) | |
download | ffmpeg-93a10dd56121862fab13aa6676227673c534cc12.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 'libavcodec/ppc/mpegaudiodec_altivec.c')
0 files changed, 0 insertions, 0 deletions