[MPlayer-cvslog] CVS: main/libmpdemux demux_mov.c,1.139,1.140

Roberto Togni CVS syncmail at mplayerhq.hu
Thu Mar 2 23:28:14 CET 2006


CVS change done by Roberto Togni CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv7842

Modified Files:
	demux_mov.c 
Log Message:
This patch fixes pcm (twos, swot) in MOV.
This fix playing samples produced by ffmpeg(which set correct values),
and many samples in archive.

Patch by Baptiste COUDURIER | baptiste . coudurier )( smartjog . com |


Index: demux_mov.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mov.c,v
retrieving revision 1.139
retrieving revision 1.140
diff -u -r1.139 -r1.140
--- demux_mov.c	17 Feb 2006 01:57:40 -0000	1.139
+++ demux_mov.c	2 Mar 2006 22:28:12 -0000	1.140
@@ -1891,9 +1891,9 @@
     {
 	mp_msg(MSGT_DEMUX, MSGL_DBG2, "WARNING! Samplesize(%d) != 1\n",
 	    trak->samplesize);
-	x=trak->chunks[trak->pos].size*trak->samplesize;
+//	x=trak->chunks[trak->pos].size*trak->samplesize;
     }
-    else
+//    else
 	x=trak->chunks[trak->pos].size;
 //    printf("X = %d\n", x);
     /* the following stuff is audio related */




More information about the MPlayer-cvslog mailing list