diff --git a/libavcodec/wmaenc.c b/libavcodec/wmaenc.c index 195c2702c6..4977ab2a1e 100644 --- a/libavcodec/wmaenc.c +++ b/libavcodec/wmaenc.c @@ -287,6 +287,10 @@ static int encode_block(WMACodecContext *s, float (*src_coefs)[BLOCK_MAX_SIZE], if(1<avctx->flags & CODEC_FLAG_BITEXACT)) abs_level=0x71A; + put_bits(&s->pb, coef_nb_bits, abs_level); put_bits(&s->pb, s->frame_len_bits, run); }