mirror of https://github.com/mpv-player/mpv
fixed RIFF chunk size - patch by "Andriy N. Gritsenko" <andrej@lucky.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7145 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d4197da915
commit
978bfc3003
|
@ -146,7 +146,7 @@ void aviwrite_write_header(aviwrite_t *muxer,FILE *f){
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
riff[0]=mmioFOURCC('R','I','F','F');
|
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[2]=formtypeAVI; // 'AVI '
|
||||||
riff[0]=le2me_32(riff[0]);
|
riff[0]=le2me_32(riff[0]);
|
||||||
riff[1]=le2me_32(riff[1]);
|
riff[1]=le2me_32(riff[1]);
|
||||||
|
|
Loading…
Reference in New Issue