[Mplayer-cvslog] CVS: main/libmpdemux aviwrite.c,1.8,1.9

Arpi of Ize arpi at mplayerhq.hu
Thu Aug 29 22:22:02 CEST 2002


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

Modified Files:
	aviwrite.c 
Log Message:
fixed RIFF chunk size - patch by "Andriy N. Gritsenko" <andrej at lucky.net>


Index: aviwrite.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/aviwrite.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- aviwrite.c	5 Aug 2002 11:26:26 -0000	1.8
+++ aviwrite.c	29 Aug 2002 20:21:59 -0000	1.9
@@ -146,7 +146,7 @@
       return;
 #endif
   riff[0]=mmioFOURCC('R','I','F','F');
-  riff[1]=muxer->file_end;  // filesize
+  riff[1]=muxer->file_end-2*sizeof(unsigned int);  // filesize
   riff[2]=formtypeAVI; // 'AVI '
   riff[0]=le2me_32(riff[0]);
   riff[1]=le2me_32(riff[1]);




More information about the MPlayer-cvslog mailing list