cabac: use av_assert
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 7 Jul 2012 10:33:51 +0000 (12:33 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 7 Jul 2012 10:33:51 +0000 (12:33 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/cabac.c

index 14ef30a..544364c 100644 (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);