diff options
-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 df8d0a9..fd0247d 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -384,7 +384,7 @@ static av_cold int initFilter(int16_t **outFilter, int32_t **filterPos, int j; (*filterPos)[i] = xx; for (j = 0; j < filterSize; j++) { - int64_t d = (FFABS(((int64_t)xx << 17) - xDstInSrc)) << 13; + int64_t d = (FFABS(((int64_t)xx * (1 << 17)) - xDstInSrc)) << 13; double floatd; int64_t coeff; |