OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97d1cb5
)
lzwenc: change assert to av_assert
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 18 Oct 2012 19:42:04 +0000
(21:42 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 18 Oct 2012 19:42:04 +0000
(21:42 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/lzwenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/lzwenc.c
b/libavcodec/lzwenc.c
index
0757d02
..
7e30765
100644
(file)
--- 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;
- a
ssert
(head >= 0 && head < LZW_HASH_SIZE);
+ a
v_assert2
(head >= 0 && head < LZW_HASH_SIZE);
return head;
}