[FFmpeg-cvslog] aaccoder: switch to av_assert

Michael Niedermayer git at videolan.org
Tue Sep 4 06:16:34 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Sep  4 04:38:28 2012 +0200| [688cb7125274e3b651ec2113ffe5a68dea8d9bf1] | committer: Michael Niedermayer

aaccoder: switch to av_assert

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=688cb7125274e3b651ec2113ffe5a68dea8d9bf1
---

 libavcodec/aaccoder.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/aaccoder.c b/libavcodec/aaccoder.c
index b48da99..e66dcb8 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;



More information about the ffmpeg-cvslog mailing list