[FFmpeg-cvslog] avcodec/qdm2: store bits in an integer instead of float variable

Michael Niedermayer git at videolan.org
Thu Jul 11 12:13:21 CEST 2013


ffmpeg | branch: release/2.0 | Michael Niedermayer <michaelni at gmx.at> | Wed Jul 10 16:18:52 2013 +0200| [ea28e742051759520fe716f22e42127c04982ea0] | committer: Michael Niedermayer

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

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

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ea28e742051759520fe716f22e42127c04982ea0
---

 libavcodec/qdm2.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c
index 7684590..43b6177 100644
--- a/libavcodec/qdm2.c
+++ b/libavcodec/qdm2.c
@@ -819,7 +819,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



More information about the ffmpeg-cvslog mailing list