[Mplayer-cvslog] CVS: main/libmpdemux muxer_avi.c,1.22,1.23

Tobias Diedrich CVS syncmail at mplayerhq.hu
Wed Mar 24 16:21:23 CET 2004


CVS change done by Tobias Diedrich CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv10345/libmpdemux

Modified Files:
	muxer_avi.c 
Log Message:
Round Chunklen to word boundary

Index: muxer_avi.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/muxer_avi.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- muxer_avi.c	24 Mar 2004 15:16:36 -0000	1.22
+++ muxer_avi.c	24 Mar 2004 15:21:21 -0000	1.23
@@ -236,7 +236,7 @@
     s->size+=len;
     if((unsigned int)len>s->h.dwSuggestedBufferSize) s->h.dwSuggestedBufferSize=len;
 
-    muxer->file_end += len + 8;
+    muxer->file_end += len + len&1 + 8;
 }
 
 static void write_avi_list(FILE *f,unsigned int id,int len){




More information about the MPlayer-cvslog mailing list