summaryrefslogtreecommitdiff
path: root/libavcodec/sbrdsp_fixed.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/sbrdsp_fixed.c')
-rw-r--r--libavcodec/sbrdsp_fixed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/sbrdsp_fixed.c b/libavcodec/sbrdsp_fixed.c
index 218bb1acd8..fe48104021 100644
--- a/libavcodec/sbrdsp_fixed.c
+++ b/libavcodec/sbrdsp_fixed.c
@@ -264,8 +264,8 @@ static av_always_inline int sbr_hf_apply_noise(int (*Y)[2],
int m;
for (m = 0; m < m_max; m++) {
- int y0 = Y[m][0];
- int y1 = Y[m][1];
+ unsigned y0 = Y[m][0];
+ unsigned y1 = Y[m][1];
noise = (noise + 1) & 0x1ff;
if (s_m[m].mant) {
int shift, round;