summaryrefslogtreecommitdiff
path: root/libavcodec/lzwenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-18 21:42:04 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-18 21:42:04 +0200
commit2472f3facbb43e224d70c75399a7d5208ddfe184 (patch)
tree10dce8a5680e9210fc7f332619bbdcb95739b730 /libavcodec/lzwenc.c
parent97d1cb5cd48c3a5f6f98be619081a5b886f637a3 (diff)
lzwenc: change assert to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/lzwenc.c')
-rw-r--r--libavcodec/lzwenc.c2
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;
}