summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libswscale/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/output.c b/libswscale/output.c
index 7eb4644..0e20a0a 100644
--- a/libswscale/output.c
+++ b/libswscale/output.c
@@ -904,7 +904,7 @@ yuv2ya16_X_c_template(SwsContext *c, const int16_t *lumFilter,
for (i = 0; i < dstW; i++) {
int j;
- int Y = 1 << 18;
+ int64_t Y = 1 << 18;
int64_t A = 0xffff<<14;
for (j = 0; j < lumFilterSize; j++)
OpenPOWER on IntegriCloud