[SCM] libav/experimental: aacenc: Convert if () abort() to assert().
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:11:48 UTC 2013
The following commit has been merged in the experimental branch:
commit 581a96976b9061ed75b280e81fa1659ae3e395ee
Author: Alex Converse <alex.converse at gmail.com>
Date: Mon Jul 19 20:53:58 2010 +0000
aacenc: Convert if () abort() to assert().
Originally committed as revision 24336 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/aaccoder.c b/libavcodec/aaccoder.c
index f76cbb1..4a79f12 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;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list