From 2472f3facbb43e224d70c75399a7d5208ddfe184 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 18 Oct 2012 21:42:04 +0200 Subject: lzwenc: change assert to av_assert Signed-off-by: Michael Niedermayer --- libavcodec/lzwenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/lzwenc.c') 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; } -- cgit v1.2.3