Remove check that thanks to padding is no longer necessary.

Originally committed as revision 19057 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2009-05-31 10:53:47 +00:00
parent 0b99764459
commit e0b3af9059
1 changed files with 0 additions and 2 deletions

View File

@ -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;