mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
0b99764459
commit
e0b3af9059
|
@ -92,8 +92,6 @@ static unsigned int mszh_decomp(const unsigned char * srcptr, int srclen, unsign
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if ((mask & (1 << (--maskbit))) == 0) {
|
if ((mask & (1 << (--maskbit))) == 0) {
|
||||||
if (destptr_end - destptr < 4)
|
|
||||||
break;
|
|
||||||
memcpy(destptr, srcptr, 4);
|
memcpy(destptr, srcptr, 4);
|
||||||
destptr += 4;
|
destptr += 4;
|
||||||
srcptr += 4;
|
srcptr += 4;
|
||||||
|
|
Loading…
Reference in New Issue