summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/dca_xll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dca_xll.c b/libavcodec/dca_xll.c
index 435f84ed7e..3dfde6b68d 100644
--- a/libavcodec/dca_xll.c
+++ b/libavcodec/dca_xll.c
@@ -717,10 +717,10 @@ static void chs_assemble_msbs_lsbs(DCAXllDecoder *s, DCAXllChSet *c, int band)
int32_t *lsb = b->lsb_sample_buffer[ch];
int adj = b->bit_width_adjust[ch];
for (n = 0; n < nsamples; n++)
- msb[n] = msb[n] * (1 << shift) + (lsb[n] << adj);
+ msb[n] = msb[n] * (SUINT)(1 << shift) + (lsb[n] << adj);
} else {
for (n = 0; n < nsamples; n++)
- msb[n] = msb[n] * (1 << shift);
+ msb[n] = msb[n] * (SUINT)(1 << shift);
}
}
}