changeset 9762:3242ae563430 libavcodec

Simply use memcpy instead of AV_RN32/AV_WN32 combination.
author reimar
date Sun, 31 May 2009 10:16:28 +0000
parents b69de727fd7c
children d359d5ee74b9
files lcldec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lcldec.c	Sun May 31 10:14:27 2009 +0000
+++ b/lcldec.c	Sun May 31 10:16:28 2009 +0000
@@ -89,7 +89,7 @@
         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;