[FFmpeg-cvslog] r24336 - trunk/libavcodec/aaccoder.c

alexc subversion
Mon Jul 19 22:53:58 CEST 2010


Author: alexc
Date: Mon Jul 19 22:53:58 2010
New Revision: 24336

Log:
aacenc: Convert if () abort() to assert().

Modified:
   trunk/libavcodec/aaccoder.c

Modified: trunk/libavcodec/aaccoder.c
==============================================================================
--- trunk/libavcodec/aaccoder.c	Mon Jul 19 21:51:29 2010	(r24335)
+++ trunk/libavcodec/aaccoder.c	Mon Jul 19 22:53:58 2010	(r24336)
@@ -488,7 +488,7 @@ static void codebook_trellis_rate(AACEnc
             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;



More information about the ffmpeg-cvslog mailing list