Commit 295c3ee2 authored by reimar's avatar reimar

Simply use memcpy instead of AV_RN32/AV_WN32 combination.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19046 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a70a0464
...@@ -89,7 +89,7 @@ static unsigned int mszh_decomp(unsigned char * srcptr, int srclen, unsigned cha ...@@ -89,7 +89,7 @@ static unsigned int mszh_decomp(unsigned char * srcptr, int srclen, unsigned cha
if ((mask & (1 << (--maskbit))) == 0) { if ((mask & (1 << (--maskbit))) == 0) {
if (destptr + 4 > destptr_end) if (destptr + 4 > destptr_end)
break; break;
AV_WN32(destptr, AV_RN32(srcptr)); memcpy(destptr, srcptr, 4);
srclen -= 4; srclen -= 4;
destptr += 4; destptr += 4;
srcptr += 4; srcptr += 4;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment