]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/lsp.c
Merge commit '97bf7c03b1338a867da52c159a2afecbdedcfa88'
[ffmpeg] / libavcodec / lsp.c
index 62ac92fbe128b1e00684ed3b7b9a6c87105e1561..17f59ea77d0ef4df5a9e5350de0bdf1674750a76 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);
 }