aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cabac.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-07 12:33:51 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-07-07 12:33:51 +0200
commitdc7aecd8f77cc26f581c36a7adaac3a21e381c80 (patch)
tree393308e76b19f12a595901c4e43ea07d3f60652c /libavcodec/cabac.c
parent1842b275643ebdddd00fd4dad11b539a59eb4a69 (diff)
downloadffmpeg-dc7aecd8f77cc26f581c36a7adaac3a21e381c80.tar.gz
cabac: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/cabac.c')
-rw-r--r--libavcodec/cabac.c2
1 files changed, 1 insertions, 1 deletions
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);