changeset 2675:c6aa5585954f libavcodec

alignment fix by (G«”bor Kov«”cs >picard demoscene hu)
author michael
date Fri, 13 May 2005 12:00:12 +0000
parents 58fb8e1efcae
children 0975710cf7f4
files h264.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Fri May 13 08:17:25 2005 +0000
+++ b/h264.c	Fri May 13 12:00:12 2005 +0000
@@ -1378,7 +1378,8 @@
                     }
                 }
                 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;