aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux
diff options
context:
space:
mode:
authorGravatar rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-02 22:28:12 +0000
committerGravatar rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-02 22:28:12 +0000
commitbf96c6033ea87ac99a498a96dddab0d3b6fb10da (patch)
tree01962790299dfb17b446f5b2d83eefb942651d9d /libmpdemux
parent653243a58228c2d37faa88fbc4abe6079152fa22 (diff)
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 | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17717 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_mov.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/demux_mov.c b/libmpdemux/demux_mov.c
index 3537ce39ce..15ddc48f2d 100644
--- a/libmpdemux/demux_mov.c
+++ b/libmpdemux/demux_mov.c
@@ -1891,9 +1891,9 @@ if(trak->samplesize){
{
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 */