aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/cavs.c
diff options
context:
space:
mode:
authorRoman Shaposhnik2007-07-30 18:05:46 +0000
committerRoman Shaposhnik2007-07-30 18:05:46 +0000
commitf49f6e88895bef1fd2cc0226b9007f2b2932d6cc (patch)
tree9d72e3591ca173ce0a9c1fe400cdc0e3e1a4642a /libavcodec/cavs.c
parent6654296c309a60ce803b7e1c70edfd3ea09ee8c0 (diff)
replacing the use of deprecated unaligned*() routines by LD64 and AV_RB32
Originally committed as revision 9834 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cavs.c')
-rw-r--r--libavcodec/cavs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cavs.c b/libavcodec/cavs.c
index 87723c5719..902d82252c 100644
--- a/libavcodec/cavs.c
+++ b/libavcodec/cavs.c
@@ -212,7 +212,7 @@ void ff_cavs_load_intra_pred_chroma(AVSContext *h) {
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;
}