]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ac3dec_fixed.c
avcodec/ffwavesynth: Fix integer overflow in timestamps
[ffmpeg] / libavcodec / ac3dec_fixed.c
index 9a6d7a08b1c0a32486307494bb64edcc835054b6..bd66175d50f93a1893cf60309f5e0b64e1a766d1 100644 (file)
@@ -64,8 +64,8 @@ static void scale_coefs (
     int dynrng,
     int len)
 {
-    int i, shift, round;
-    unsigned mul;
+    int i, shift;
+    unsigned mul, round;
     int temp, temp1, temp2, temp3, temp4, temp5, temp6, temp7;
 
     mul = (dynrng & 0x1f) + 0x20;