aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-03 23:26:14 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-03 23:26:14 +0200
commit507d2d28d6112b648c2c4cdbdac81de7c3041f83 (patch)
tree9e975a16d8674e461e89a05714d9b7a5f3ec7184
parentc868219c9accf267a21792111e186b3dd0b7a0ab (diff)
downloadffmpeg-507d2d28d6112b648c2c4cdbdac81de7c3041f83.tar.gz
lsp: change assert to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/lsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/lsp.c b/libavcodec/lsp.c
index 62ac92fbe1..17f59ea77d 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);
}