aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-07-10 16:18:52 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-07-10 16:18:52 +0200
commitfbe159e85079f1f94a7201dc210b155dba7ff4a6 (patch)
tree8aed613f8780b9bd47184e78e8ecd77771998ed1 /libavcodec
parentb0509563347b81d7b0a2474e56abbc9c99043688 (diff)
downloadffmpeg-fbe159e85079f1f94a7201dc210b155dba7ff4a6.tar.gz
avcodec/qdm2: store bits in an integer instead of float variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/qdm2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c
index 921f322c4a..eef72c525c 100644
--- a/libavcodec/qdm2.c
+++ b/libavcodec/qdm2.c
@@ -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