aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/lcldec.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-05-31 10:16:28 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-05-31 10:16:28 +0000
commit2fddb91e9496eb0e3caf99342123ef4cce801c14 (patch)
treec085766baf7e53a9d02c5fd8360dd1ccfb7d9e33 /libavcodec/lcldec.c
parent661cb0d4a9c467ccbbc6aa6b628b8461db9ecc05 (diff)
downloadffmpeg-2fddb91e9496eb0e3caf99342123ef4cce801c14.tar.gz
Simply use memcpy instead of AV_RN32/AV_WN32 combination.
Originally committed as revision 19046 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/lcldec.c')
-rw-r--r--libavcodec/lcldec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/lcldec.c b/libavcodec/lcldec.c
index 01b4b43202..4a5a2eb799 100644
--- a/libavcodec/lcldec.c
+++ b/libavcodec/lcldec.c
@@ -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;