This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Remove useless & 0x1f
Originally committed as revision 19050 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Reimar Döffinger
16 years ago
parent
7b151a98b0
commit
5a18221ba8
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/lcldec.c
+ 1
- 1
libavcodec/lcldec.c
View File
@@ -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) {
Write
Preview
Loading…
Cancel
Save