changeset 17716:d75926875106

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 |
author rtognimp
date Thu, 02 Mar 2006 22:28:12 +0000
parents 9e1fb2aeeed9
children 4de62f7f6f8a
files libmpdemux/demux_mov.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mov.c	Thu Mar 02 21:19:57 2006 +0000
+++ b/libmpdemux/demux_mov.c	Thu Mar 02 22:28:12 2006 +0000
@@ -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 */