diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-02-24 15:32:25 -0800 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2012-02-24 15:39:55 -0800 |
commit | 2bb628f870264455ff2573c6f56580e7c5dc8717 (patch) | |
tree | d64da25f52f869656bd93be5e81e1132445f68d0 /libswscale/utils.c | |
parent | 19adb0bc2d42ad88d6137efa5420e13696e721d0 (diff) | |
download | ffmpeg-streaming-2bb628f870264455ff2573c6f56580e7c5dc8717.zip ffmpeg-streaming-2bb628f870264455ff2573c6f56580e7c5dc8717.tar.gz |
swscale: fix another integer overflow at large dimensions/rescales.
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r-- | libswscale/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c index 796adb6..3b488ca 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -274,7 +274,7 @@ static int initFilter(int16_t **outFilter, int16_t **filterPos, int *outFilterSi int j; (*filterPos)[i]= xx; for (j=0; j<filterSize; j++) { - int64_t d= ((int64_t)FFABS((xx<<17) - xDstInSrc))<<13; + int64_t d= (FFABS(((int64_t)xx<<17) - xDstInSrc))<<13; double floatd; int64_t coeff; |