aaccoder: switch to av_assert
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 4 Sep 2012 02:38:28 +0000 (04:38 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 4 Sep 2012 02:38:28 +0000 (04:38 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/aaccoder.c

index b48da99..e66dcb8 100644 (file)
@@ -506,7 +506,7 @@ static void codebook_trellis_rate(AACEncContext *s, SingleChannelElement *sce,
             idx = cb;
     ppos = max_sfb;
     while (ppos > 0) {
-        assert(idx >= 0);
+        av_assert1(idx >= 0);
         cb = idx;
         stackrun[stack_len] = path[ppos][cb].run;
         stackcb [stack_len] = cb;