提交 2472f3fa 编写于 作者: M Michael Niedermayer

lzwenc: change assert to av_assert

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册