[Mplayer-cvslog] CVS: main/libmpdemux demux_mov.c,1.80,1.81

Alex Beregszaszi alex at mplayerhq.hu
Mon Nov 4 21:36:54 CET 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv20605

Modified Files:
	demux_mov.c 
Log Message:
workaround for ms11 ima4

Index: demux_mov.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mov.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -r1.80 -r1.81
--- demux_mov.c	2 Nov 2002 22:39:02 -0000	1.80
+++ demux_mov.c	4 Nov 2002 20:36:51 -0000	1.81
@@ -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){




More information about the MPlayer-cvslog mailing list