[Mplayer-cvslog] CVS: main/libmpdemux muxer_avi.c,1.15,1.16

Tobias Diedrich CVS ranma at mplayerhq.hu
Mon Nov 3 17:26:05 CET 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv17810

Modified Files:
	muxer_avi.c 
Log Message:
Fix waveformatex size calculation

Index: muxer_avi.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/muxer_avi.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- muxer_avi.c	19 Jan 2003 00:33:11 -0000	1.15
+++ muxer_avi.c	3 Nov 2003 16:25:31 -0000	1.16
@@ -135,8 +135,7 @@
   fwrite(&le_id,4,1,f);
 }
 
-// muxer->streams[i]->wf->cbSize
-#define WFSIZE(wf) (sizeof(WAVEFORMATEX)+(((wf)->cbSize)?((wf)->cbSize-2):0))
+#define WFSIZE(wf) (sizeof(WAVEFORMATEX)+(wf)->cbSize)
 
 static void avifile_write_header(muxer_t *muxer){
   uint32_t riff[3];



More information about the MPlayer-cvslog mailing list