Browse code

avcodec/qdm2: store bits in an integer instead of float variable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit fbe159e85079f1f94a7201dc210b155dba7ff4a6)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2013/07/10 23:18:52
Showing 1 changed files
... ...
@@ -767,7 +767,8 @@ static int synthfilt_build_sb_samples (QDM2Context *q, GetBitContext *gb, int le
767 767
     int type34_first;
768 768
     float type34_div = 0;
769 769
     float type34_predictor;
770
-    float samples[10], sign_bits[16];
770
+    float samples[10];
771
+    int sign_bits[16];
771 772
 
772 773
     if (length == 0) {
773 774
         // If no data use noise