Mercurial > mplayer.hg
changeset 11374:e00d3351b912
Fix waveformatex size calculation
author | ranma |
---|---|
date | Mon, 03 Nov 2003 16:25:31 +0000 |
parents | 3b9f8ee18ff9 |
children | 3544f1823f6b |
files | libmpdemux/muxer_avi.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/muxer_avi.c Mon Nov 03 12:15:32 2003 +0000 +++ b/libmpdemux/muxer_avi.c Mon Nov 03 16:25:31 2003 +0000 @@ -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];