avcodec/qdm2: store bits in an integer instead of float variable
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 10 Jul 2013 14:18:52 +0000 (16:18 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 10 Jul 2013 14:18:52 +0000 (16:18 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/qdm2.c

index 921f322..eef72c5 100644 (file)
@@ -822,7 +822,8 @@ static int synthfilt_build_sb_samples(QDM2Context *q, GetBitContext *gb,
     int type34_first;
     float type34_div = 0;
     float type34_predictor;
-    float samples[10], sign_bits[16];
+    float samples[10];
+    int sign_bits[16];
 
     if (length == 0) {
         // If no data use noise