[MPlayer-cvslog] CVS: main/libmpcodecs ad_pcm.c,1.22,1.23

Roberto Togni CVS syncmail at mplayerhq.hu
Tue Mar 14 23:15:27 CET 2006


CVS change done by Roberto Togni CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv27512

Modified Files:
	ad_pcm.c 
Log Message:
Remove twos workaround, this bug was fixed in mov demuxer


Index: ad_pcm.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_pcm.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- ad_pcm.c	13 Mar 2006 23:32:35 -0000	1.22
+++ ad_pcm.c	14 Mar 2006 22:15:24 -0000	1.23
@@ -53,13 +53,6 @@
        // intended fall-through
     case 0x74776F73: // 'swot'
        if(sh_audio->samplesize==1) sh_audio->sample_format=AF_FORMAT_S8;
-// Uncomment this if twos audio is broken for you
-// (typically with movies made on sgi machines)
-// This is just a workaround, the real bug is elsewhere
-#if 0
-       sh_audio->ds->ss_div= sh_audio->samplesize;
-       sh_audio->ds->ss_mul= sh_audio->samplesize * sh_audio->channels;
-#endif
        break;
     case 0x32336c66: // 'fl32', bigendian float32
        sh_audio->sample_format=AF_FORMAT_FLOAT_BE;




More information about the MPlayer-cvslog mailing list