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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/27/head
Michael Niedermayer 12 years ago
parent b050956334
commit fbe159e850
  1. 3
      libavcodec/qdm2.c

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

Loading…
Cancel
Save