Commit 581a9697 authored by Alex Converse's avatar Alex Converse

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

Originally committed as revision 24336 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 7d894aeb
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment