aacenc: Convert if () abort() to assert().
Originally committed as revision 24336 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -488,7 +488,7 @@ static void codebook_trellis_rate(AACEncContext *s, SingleChannelElement *sce,
|
|||||||
idx = cb;
|
idx = cb;
|
||||||
ppos = max_sfb;
|
ppos = max_sfb;
|
||||||
while (ppos > 0) {
|
while (ppos > 0) {
|
||||||
if (idx < 0) abort();
|
assert(idx >= 0);
|
||||||
cb = idx;
|
cb = idx;
|
||||||
stackrun[stack_len] = path[ppos][cb].run;
|
stackrun[stack_len] = path[ppos][cb].run;
|
||||||
stackcb [stack_len] = cb;
|
stackcb [stack_len] = cb;
|
||||||
|
Reference in New Issue
Block a user