# HG changeset patch # User rtognimp # Date 1142374524 0 # Node ID 03f12c4dac0d27b84265c8f9603fb547d1aa9a14 # Parent 8abdf3618732a1552f2f14db9efacf301aeac9bc Remove twos workaround, this bug was fixed in mov demuxer diff -r 8abdf3618732 -r 03f12c4dac0d libmpcodecs/ad_pcm.c --- 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;