Commit 46fdf8de authored by stefang's avatar stefang

hopefully better for platforms not supporting misaligned read


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5647 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2865f1c2
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment