Commit 7ae78fa7 authored by reimar's avatar reimar

Remove useless & 0x1f


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19050 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0046e92a
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment