[Ffmpeg-cvslog] r5647 - trunk/libavcodec/cavs.c

stefang subversion
Thu Jul 6 21:23:21 CEST 2006


Author: stefang
Date: Thu Jul  6 21:23:21 2006
New Revision: 5647

Modified:
   trunk/libavcodec/cavs.c

Log:
hopefully better for platforms not supporting misaligned read


Modified: trunk/libavcodec/cavs.c
==============================================================================
--- trunk/libavcodec/cavs.c	(original)
+++ trunk/libavcodec/cavs.c	Thu Jul  6 21:23:21 2006
@@ -299,7 +299,7 @@
 
 static void intra_pred_vert(uint8_t *d,uint8_t *top,uint8_t *left,int stride) {
     int y;
-    uint64_t a = *((uint64_t *)(&top[1]));
+    uint64_t a = unaligned64(&top[1]);
     for(y=0;y<8;y++) {
         *((uint64_t *)(d+y*stride)) = a;
     }




More information about the ffmpeg-cvslog mailing list