diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-18 21:42:04 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-18 21:42:04 +0200 |
commit | 2472f3facbb43e224d70c75399a7d5208ddfe184 (patch) | |
tree | 10dce8a5680e9210fc7f332619bbdcb95739b730 | |
parent | 97d1cb5cd48c3a5f6f98be619081a5b886f637a3 (diff) | |
download | ffmpeg-2472f3facbb43e224d70c75399a7d5208ddfe184.tar.gz |
lzwenc: change assert to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/lzwenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/lzwenc.c b/libavcodec/lzwenc.c index 0757d02ab4..7e30765cb9 100644 --- a/libavcodec/lzwenc.c +++ b/libavcodec/lzwenc.c @@ -76,7 +76,7 @@ static inline int hash(int head, const int add) head ^= (add << LZW_HASH_SHIFT); if (head >= LZW_HASH_SIZE) head -= LZW_HASH_SIZE; - assert(head >= 0 && head < LZW_HASH_SIZE); + av_assert2(head >= 0 && head < LZW_HASH_SIZE); return head; } |