1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

cabac: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-07-07 12:33:51 +02:00
parent 1842b27564
commit dc7aecd8f7

View File

@ -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);