changeset 17868:03f12c4dac0d

Remove twos workaround, this bug was fixed in mov demuxer
author rtognimp
date Tue, 14 Mar 2006 22:15:24 +0000
parents 8abdf3618732
children 9e1b5526b0da
files libmpcodecs/ad_pcm.c
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_pcm.c	Tue Mar 14 21:57:58 2006 +0000
+++ b/libmpcodecs/ad_pcm.c	Tue Mar 14 22:15:24 2006 +0000
@@ -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;