# HG changeset patch # User arpi # Date 1030652519 0 # Node ID 4f912998013e838a7adbd59cd815abe8930f52d6 # Parent fdfc10c2e2d2a182a94070b3bb7467517e39815a fixed RIFF chunk size - patch by "Andriy N. Gritsenko" diff -r fdfc10c2e2d2 -r 4f912998013e libmpdemux/aviwrite.c --- a/libmpdemux/aviwrite.c Thu Aug 29 20:19:33 2002 +0000 +++ b/libmpdemux/aviwrite.c Thu Aug 29 20:21:59 2002 +0000 @@ -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]);