diff options
author | Stefan Gehrer <stefan.gehrer@gmx.de> | 2006-07-06 19:23:21 +0000 |
---|---|---|
committer | Stefan Gehrer <stefan.gehrer@gmx.de> | 2006-07-06 19:23:21 +0000 |
commit | 3284e7f3fefe577fe8ee84c38e5bee8c63a64dba (patch) | |
tree | 896d99049226cc7e5c3b84993bce638f97fb64a3 /libavcodec/cavs.c | |
parent | 1a1650feca99482a70081773fb1e833d34ab44d9 (diff) | |
download | ffmpeg-3284e7f3fefe577fe8ee84c38e5bee8c63a64dba.tar.gz |
hopefully better for platforms not supporting misaligned read
Originally committed as revision 5647 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cavs.c')
-rw-r--r-- | libavcodec/cavs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cavs.c b/libavcodec/cavs.c index 53009705bb..8c629030f7 100644 --- a/libavcodec/cavs.c +++ b/libavcodec/cavs.c @@ -299,7 +299,7 @@ static inline void load_intra_pred_luma(AVSContext *h, uint8_t *top, 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; } |