]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/aacdec_fixed.c
avcodec/cfhd: Use bytestream2 for peaks
[ffmpeg] / libavcodec / aacdec_fixed.c
index 167f5b68a19a696e6f32394c6281983fe80766c1..1bdb93f5bc876669a2b3b406d71001fed8f6f1b7 100644 (file)
@@ -436,7 +436,7 @@ static void apply_independent_coupling_fixed(AACContext *ac,
     else {
       for (i = 0; i < len; i++) {
           tmp = (int)(((int64_t)src[i] * c + (int64_t)0x1000000000) >> 37);
-          dest[i] += tmp * (1 << shift);
+          dest[i] += tmp * (1U << shift);
       }
     }
 }