Remove check that thanks to padding is no longer necessary.

Originally committed as revision 19057 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Reimar Döffinger 16 years ago
parent 0b99764459
commit e0b3af9059
  1. 2
      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;

Loading…
Cancel
Save