[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec h264.c,1.124,1.125

Michael Niedermayer CVS michael
Fri May 13 14:00:16 CEST 2005


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv8784

Modified Files:
	h264.c 
Log Message:
alignment fix by (G?bor Kov?cs >picard demoscene hu)


Index: h264.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/h264.c,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -d -r1.124 -r1.125
--- h264.c	13 May 2005 08:17:25 -0000	1.124
+++ h264.c	13 May 2005 12:00:12 -0000	1.125
@@ -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;





More information about the ffmpeg-cvslog mailing list