[FFmpeg-cvslog] lsp: change assert to av_assert

Michael Niedermayer git at videolan.org
Mon Sep 3 23:29:40 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Sep  3 23:26:14 2012 +0200| [507d2d28d6112b648c2c4cdbdac81de7c3041f83] | committer: Michael Niedermayer

lsp: change assert to av_assert

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

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

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

diff --git a/libavcodec/lsp.c b/libavcodec/lsp.c
index 62ac92f..17f59ea 100644
--- a/libavcodec/lsp.c
+++ b/libavcodec/lsp.c
@@ -75,7 +75,7 @@ static int16_t ff_cos(uint16_t arg)
     uint8_t offset= arg;
     uint8_t ind = arg >> 8;
 
-    assert(arg <= 0x3fff);
+    av_assert2(arg <= 0x3fff);
 
     return tab_cos[ind] + (offset * (tab_cos[ind+1] - tab_cos[ind]) >> 8);
 }



More information about the ffmpeg-cvslog mailing list