diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-05-13 12:00:12 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-05-13 12:00:12 +0000 |
commit | 0444b0230493f560d91ec19f8a7e64507335eb94 (patch) | |
tree | f0ee45b0fd35df60b13f68e0ff92089bb703bbed | |
parent | d2cc7468f354831aa7444b2a1ebac61a25f3645c (diff) | |
download | ffmpeg-0444b0230493f560d91ec19f8a7e64507335eb94.tar.gz |
alignment fix by (Gábor Kovács >picard demoscene hu)
Originally committed as revision 4233 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/h264.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 5ab3c428ec..401b41a094 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -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; |