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 | idx = cb; | 488 | idx = cb; |
| 489 | ppos = max_sfb; | 489 | ppos = max_sfb; |
| 490 | while (ppos > 0) { | 490 | while (ppos > 0) { |
| 491 | if (idx < 0) abort(); | 491 | assert(idx >= 0); |
| 492 | cb = idx; | 492 | cb = idx; |
| 493 | stackrun[stack_len] = path[ppos][cb].run; | 493 | stackrun[stack_len] = path[ppos][cb].run; |
| 494 | stackcb [stack_len] = cb; | 494 | stackcb [stack_len] = cb; |