aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aaccoder.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-04 04:38:28 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-04 04:38:28 +0200
commit688cb7125274e3b651ec2113ffe5a68dea8d9bf1 (patch)
tree86303805a4df128536a04903ab427aa8dfbebbc8 /libavcodec/aaccoder.c
parent7b1ff5e2f358ce0441ebb4fc1a6674eca4b9a898 (diff)
downloadffmpeg-688cb7125274e3b651ec2113ffe5a68dea8d9bf1.tar.gz
aaccoder: switch to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/aaccoder.c')
-rw-r--r--libavcodec/aaccoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aaccoder.c b/libavcodec/aaccoder.c
index b48da99ef1..e66dcb8405 100644
--- a/libavcodec/aaccoder.c
+++ b/libavcodec/aaccoder.c
@@ -506,7 +506,7 @@ static void codebook_trellis_rate(AACEncContext *s, SingleChannelElement *sce,
idx = cb;
ppos = max_sfb;
while (ppos > 0) {
- assert(idx >= 0);
+ av_assert1(idx >= 0);
cb = idx;
stackrun[stack_len] = path[ppos][cb].run;
stackcb [stack_len] = cb;