Commit 2472f3fa authored by Michael Niedermayer's avatar Michael Niedermayer

lzwenc: change assert to av_assert

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 97d1cb5c
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment