diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-07-10 16:18:52 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-07-10 19:05:21 +0200 |
commit | 5e3e67f977a3706f898cc8ebe4f5f97a4dbbea1d (patch) | |
tree | 300639ee8327151aa4b244882f4e1ec8cba9740b | |
parent | 221bbd002c62ede7427d465922b91f75f055a1a9 (diff) | |
download | ffmpeg-5e3e67f977a3706f898cc8ebe4f5f97a4dbbea1d.tar.gz |
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>
-rw-r--r-- | libavcodec/qdm2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c index 7136cf1c23..68a920e137 100644 --- a/libavcodec/qdm2.c +++ b/libavcodec/qdm2.c @@ -767,7 +767,8 @@ static int synthfilt_build_sb_samples (QDM2Context *q, GetBitContext *gb, int le 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 |