1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

aaccoder: switch to av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-09-04 04:38:28 +02:00
parent 7b1ff5e2f3
commit 688cb71252

View File

@ -506,7 +506,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) {
assert(idx >= 0); av_assert1(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;