History

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

Originally committed as revision 24336 to svn://svn.ffmpeg.org/ffmpeg/trunk

Alex Converse committed 16 years ago

Commit 581a9691 parent 7d894ae1 file · +1 −1Browse files

Unified · Split

libavcodec/aaccoder.c+1−1
@@ -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;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t