Mercurial > mplayer.hg
changeset 7144:4f912998013e
fixed RIFF chunk size - patch by "Andriy N. Gritsenko" <andrej@lucky.net>
author | arpi |
---|---|
date | Thu, 29 Aug 2002 20:21:59 +0000 |
parents | fdfc10c2e2d2 |
children | 3854945aefbb |
files | libmpdemux/aviwrite.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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]);