Commit c67043b9 authored by michael's avatar michael

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4233 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4cbac01e
...@@ -1378,7 +1378,8 @@ static inline void write_back_motion(H264Context *h, int mb_type){ ...@@ -1378,7 +1378,8 @@ static inline void write_back_motion(H264Context *h, int mb_type){
} }
} }
for(y=0; y<2; y++){ 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; 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