mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
lzwenc: change assert to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
97d1cb5cd4
commit
2472f3facb
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user