Commit 0444b023 authored by Michael Niedermayer's avatar Michael Niedermayer

alignment fix by (Gábor Kovács >picard demoscene hu)

Originally committed as revision 4233 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d2cc7468
......@@ -1378,7 +1378,8 @@ static inline void write_back_motion(H264Context *h, int mb_type){
}
}
for(y=0; y<2; y++){
*(uint16_t*)&s->current_picture.ref_index[list][b8_xy + y*h->b8_stride]= (LIST_NOT_USED&0xFF)*0x0101;
s->current_picture.ref_index[list][b8_xy + 0 + y*h->b8_stride]=
s->current_picture.ref_index[list][b8_xy + 1 + y*h->b8_stride]= LIST_NOT_USED;
}
}
continue;
......
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