Originally committed as revision 24336 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing the changes to libavcodec/aaccoder.c (1 of 1 file). Show all
Unified · Split
| @@ -488,7 +488,7 @@ static void codebook_trellis_rate(AACEncContext *s, SingleChannelElement *sce, · 487 unmodified lines | ||
| 488 | 488 | idx = cb; |
| 489 | 489 | ppos = max_sfb; |
| 490 | 490 | while (ppos > 0) { |
| 491 | − if (idx < 0) abort(); | |
| 491 | + assert(idx >= 0); | |
| 492 | 492 | cb = idx; |
| 493 | 493 | stackrun[stack_len] = path[ppos][cb].run; |
| 494 | 494 | stackcb [stack_len] = cb; |