diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-05-31 14:53:47 +0400 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-05-31 14:53:47 +0400 |
commit | e0b3af90599b2d9d593e935db67290361a853a47 (patch) | |
tree | ece6f0257c36608157372ed8781297773e746e43 /libavcodec/lcldec.c | |
parent | 0b99764459c0f2bd47944c7838f1448e0107a901 (diff) |
Remove check that thanks to padding is no longer necessary.
Originally committed as revision 19057 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/lcldec.c')
-rw-r--r-- | libavcodec/lcldec.c | 2 |
1 files changed, 0 insertions, 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; |