projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b151a9
)
Remove useless & 0x1f
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sun, 31 May 2009 10:31:37 +0000
(10:31 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sun, 31 May 2009 10:31:37 +0000
(10:31 +0000)
Originally committed as revision 19050 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/lcldec.c
patch
|
blob
|
history
diff --git
a/libavcodec/lcldec.c
b/libavcodec/lcldec.c
index
44bcfbd
..
6bd4556
100644
(file)
--- a/
libavcodec/lcldec.c
+++ b/
libavcodec/lcldec.c
@@
-99,7
+99,7
@@
static unsigned int mszh_decomp(unsigned char * srcptr, int srclen, unsigned cha
ofs = *srcptr++;
cnt = *srcptr++;
ofs += cnt * 256;
- cnt = (
(cnt >> 3) & 0x1f
) + 1;
+ cnt = (
cnt >> 3
) + 1;
ofs &= 0x7ff;
cnt *= 4;
if (destptr_end - destptr < cnt) {