mirror of
https://github.com/mpv-player/mpv
synced 2024-12-30 02:52:10 +00:00
workaround for ms11 ima4
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8106 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
113551a378
commit
772b91172c
@ -873,6 +873,9 @@ static void lschunks(demuxer_t* demuxer,int level,off_t endpos,mov_track_t* trak
|
||||
sh->wf->nBlockAlign=char2int(trak->stdata,36);
|
||||
} else {
|
||||
sh->wf->nAvgBytesPerSec=sh->wf->nChannels*sh->wf->wBitsPerSample*sh->wf->nSamplesPerSec/8;
|
||||
// workaround for ms11 ima4
|
||||
if (sh->format == 0x1100736d && trak->stdata_len >= 36)
|
||||
sh->wf->nBlockAlign=char2int(trak->stdata,36);
|
||||
}
|
||||
// Selection:
|
||||
if(demuxer->audio->id==-1 || demuxer->audio->id==priv->track_db){
|
||||
|
Loading…
Reference in New Issue
Block a user