[FFmpeg-cvslog] lzwenc: change assert to av_assert
Michael Niedermayer
git at videolan.org
Thu Oct 18 22:10:59 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Oct 18 21:42:04 2012 +0200| [2472f3facbb43e224d70c75399a7d5208ddfe184] | committer: Michael Niedermayer
lzwenc: change assert to av_assert
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2472f3facbb43e224d70c75399a7d5208ddfe184
---
libavcodec/lzwenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/lzwenc.c b/libavcodec/lzwenc.c
index 0757d02..7e30765 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;
}
More information about the ffmpeg-cvslog
mailing list