1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-14 10:55:43 +00:00

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
This commit is contained in:
rtognimp 2006-03-02 22:28:12 +00:00
parent 653243a582
commit bf96c6033e

View File

@ -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 */