From e0b3af90599b2d9d593e935db67290361a853a47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Sun, 31 May 2009 10:53:47 +0000 Subject: [PATCH] Remove check that thanks to padding is no longer necessary. Originally committed as revision 19057 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/lcldec.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/lcldec.c b/libavcodec/lcldec.c index c4b81460db..702e572558 100644 --- a/libavcodec/lcldec.c +++ b/libavcodec/lcldec.c @@ -92,8 +92,6 @@ static unsigned int mszh_decomp(const unsigned char * srcptr, int srclen, unsign continue; } if ((mask & (1 << (--maskbit))) == 0) { - if (destptr_end - destptr < 4) - break; memcpy(destptr, srcptr, 4); destptr += 4; srcptr += 4;