mirror of
https://github.com/mpv-player/mpv
synced 2025-02-25 09:44:21 +00:00
Fix waveformatex size calculation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11375 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0334cc4729
commit
0287286214
@ -135,8 +135,7 @@ static void write_avi_list(FILE *f,unsigned int id,int len){
|
||||
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];
|
||||
|
Loading…
Reference in New Issue
Block a user