lsp: change assert to av_assert
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 3 Sep 2012 21:26:14 +0000 (23:26 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 3 Sep 2012 21:26:14 +0000 (23:26 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/lsp.c

index 62ac92f..17f59ea 100644 (file)
@@ -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);
 }