projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d894ae
)
aacenc: Convert if () abort() to assert().
author
Alex Converse
<alex.converse@gmail.com>
Mon, 19 Jul 2010 20:53:58 +0000
(20:53 +0000)
committer
Alex Converse
<alex.converse@gmail.com>
Mon, 19 Jul 2010 20:53:58 +0000
(20:53 +0000)
Originally committed as revision 24336 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/aaccoder.c
patch
|
blob
|
history
diff --git
a/libavcodec/aaccoder.c
b/libavcodec/aaccoder.c
index
f76cbb1
..
4a79f12
100644
(file)
--- 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;