From dc7aecd8f77cc26f581c36a7adaac3a21e381c80 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 7 Jul 2012 12:33:51 +0200 Subject: [PATCH] cabac: use av_assert Signed-off-by: Michael Niedermayer --- libavcodec/cabac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/cabac.c b/libavcodec/cabac.c index 14ef30a758..544364c61c 100644 --- a/libavcodec/cabac.c +++ b/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);