[FFmpeg-cvslog] r9834 - in trunk/libavcodec: cavs.c mpegvideo.c
romansh
subversion
Mon Jul 30 20:05:46 CEST 2007
Author: romansh
Date: Mon Jul 30 20:05:46 2007
New Revision: 9834
Log:
replacing the use of deprecated unaligned*() routines by LD64 and AV_RB32
Modified:
trunk/libavcodec/cavs.c
trunk/libavcodec/mpegvideo.c
Modified: trunk/libavcodec/cavs.c
==============================================================================
--- trunk/libavcodec/cavs.c (original)
+++ trunk/libavcodec/cavs.c Mon Jul 30 20:05:46 2007
@@ -212,7 +212,7 @@ void ff_cavs_load_intra_pred_chroma(AVSC
static void intra_pred_vert(uint8_t *d,uint8_t *top,uint8_t *left,int stride) {
int y;
- uint64_t a = unaligned64(&top[1]);
+ uint64_t a = LD64(&top[1]);
for(y=0;y<8;y++) {
*((uint64_t *)(d+y*stride)) = a;
}
Modified: trunk/libavcodec/mpegvideo.c
==============================================================================
--- trunk/libavcodec/mpegvideo.c (original)
+++ trunk/libavcodec/mpegvideo.c Mon Jul 30 20:05:46 2007
@@ -124,7 +124,7 @@ const uint8_t *ff_find_start_code(const
}
p= FFMIN(p, end)-4;
- *state= be2me_32(unaligned32(p));
+ *state= AV_RB32(p);
return p+4;
}
More information about the ffmpeg-cvslog
mailing list