1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Simply use memcpy instead of AV_RN32/AV_WN32 combination.

Originally committed as revision 19046 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2009-05-31 10:16:28 +00:00
parent 661cb0d4a9
commit 2fddb91e94

View File

@ -89,7 +89,7 @@ static unsigned int mszh_decomp(unsigned char * srcptr, int srclen, unsigned cha
if ((mask & (1 << (--maskbit))) == 0) {
if (destptr + 4 > destptr_end)
break;
AV_WN32(destptr, AV_RN32(srcptr));
memcpy(destptr, srcptr, 4);
srclen -= 4;
destptr += 4;
srcptr += 4;