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

reimar subversion
Sun May 31 12:53:47 CEST 2009


Author: reimar
Date: Sun May 31 12:53:47 2009
New Revision: 19057

Log:
Remove check that thanks to padding is no longer necessary.

Modified:
   trunk/libavcodec/lcldec.c

Modified: trunk/libavcodec/lcldec.c
==============================================================================
--- trunk/libavcodec/lcldec.c	Sun May 31 12:50:54 2009	(r19056)
+++ trunk/libavcodec/lcldec.c	Sun May 31 12:53:47 2009	(r19057)
@@ -92,8 +92,6 @@ static unsigned int mszh_decomp(const un
             continue;
         }
         if ((mask & (1 << (--maskbit))) == 0) {
-            if (destptr_end - destptr < 4)
-                break;
             memcpy(destptr, srcptr, 4);
             destptr += 4;
             srcptr += 4;



More information about the ffmpeg-cvslog mailing list