aaccoder: use put_sbits()

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
pull/133/head
James Almer 10 years ago
parent e623e8cbb0
commit 6863249b34
  1. 2
      libavcodec/aaccoder.c

@ -210,7 +210,7 @@ static av_always_inline float quantize_and_encode_band_cost_template(
int len = av_log2(coef);
put_bits(pb, len - 4 + 1, (1 << (len - 4 + 1)) - 2);
put_bits(pb, len, coef & ((1 << len) - 1));
put_sbits(pb, len, coef);
}
}
}

Loading…
Cancel
Save