diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-05-31 10:31:37 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-05-31 10:31:37 +0000 |
commit | 5a18221ba844858905c3a84ce2f9851ac88a53da (patch) | |
tree | 94b4a0b1b57f7bceeda15738324826e9f48c82c9 /libavcodec/lcldec.c | |
parent | 7b151a98b0ed36ebf04e5f336734678dbf98b6ba (diff) | |
download | ffmpeg-5a18221ba844858905c3a84ce2f9851ac88a53da.tar.gz |
Remove useless & 0x1f
Originally committed as revision 19050 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/lcldec.c')
-rw-r--r-- | libavcodec/lcldec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/lcldec.c b/libavcodec/lcldec.c index 44bcfbdc11..6bd4556d0a 100644 --- 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) { |