aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2010-07-19 20:53:58 +0000
committerAlex Converse <alex.converse@gmail.com>2010-07-19 20:53:58 +0000
commit581a96976b9061ed75b280e81fa1659ae3e395ee (patch)
tree4e1484380fb3e3155b22f3b0a94dc182e736bc07
parent7d894aeb60d767852ba9d5a4a2480abac17846ee (diff)
downloadffmpeg-581a96976b9061ed75b280e81fa1659ae3e395ee.tar.gz
aacenc: Convert if () abort() to assert().
Originally committed as revision 24336 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/aaccoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aaccoder.c b/libavcodec/aaccoder.c
index f76cbb1770..4a79f125a1 100644
--- a/libavcodec/aaccoder.c
+++ b/libavcodec/aaccoder.c
@@ -488,7 +488,7 @@ static void codebook_trellis_rate(AACEncContext *s, SingleChannelElement *sce,
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;