[FFmpeg-cvslog] r19050 - trunk/libavcodec/lcldec.c

reimar subversion
Sun May 31 12:31:37 CEST 2009


Author: reimar
Date: Sun May 31 12:31:37 2009
New Revision: 19050

Log:
Remove useless & 0x1f

Modified:
   trunk/libavcodec/lcldec.c

Modified: trunk/libavcodec/lcldec.c
==============================================================================
--- trunk/libavcodec/lcldec.c	Sun May 31 12:28:40 2009	(r19049)
+++ trunk/libavcodec/lcldec.c	Sun May 31 12:31:37 2009	(r19050)
@@ -99,7 +99,7 @@ static unsigned int mszh_decomp(unsigned
             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) {



More information about the ffmpeg-cvslog mailing list