changeset 12193:0a63bed2a00e libavcodec

aacenc: Convert if () abort() to assert().
author alexc
date Mon, 19 Jul 2010 20:53:58 +0000
parents 8e087b8af4f1
children 80b142c2e9f7
files aaccoder.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/aaccoder.c	Mon Jul 19 18:37:45 2010 +0000
+++ b/aaccoder.c	Mon Jul 19 20:53:58 2010 +0000
@@ -488,7 +488,7 @@
             idx = cb;
     ppos = max_sfb;
     while (ppos > 0) {
-        if (idx < 0) abort();
+        assert(idx >= 0);
         cb = idx;
         stackrun[stack_len] = path[ppos][cb].run;
         stackcb [stack_len] = cb;