Mercurial > mplayer.hg
changeset 8105:057c9c3f3312
workaround for ms11 ima4
author | alex |
---|---|
date | Mon, 04 Nov 2002 20:36:51 +0000 |
parents | 6337f8858d3a |
children | 7aa3dba949f1 |
files | libmpdemux/demux_mov.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_mov.c Mon Nov 04 20:33:42 2002 +0000 +++ b/libmpdemux/demux_mov.c Mon Nov 04 20:36:51 2002 +0000 @@ -873,6 +873,9 @@ 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){