cabac: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/59/head
Michael Niedermayer 13 years ago
parent 1842b27564
commit dc7aecd8f7
  1. 2
      libavcodec/cabac.c

@ -251,7 +251,7 @@ static int put_cabac_terminate(CABACContext *c, int bit){
renorm_cabac_encoder(c);
assert(c->low <= 0x1FF);
av_assert0(c->low <= 0x1FF);
put_cabac_bit(c, c->low>>9);
put_bits(&c->pb, 2, ((c->low>>7)&3)|1);

Loading…
Cancel
Save