From 0ba7f250d72b3809fd73114a14b97124762e2340 Mon Sep 17 00:00:00 2001 From: rtognimp Date: Tue, 14 Mar 2006 22:15:24 +0000 Subject: [PATCH] Remove twos workaround, this bug was fixed in mov demuxer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17869 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/ad_pcm.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libmpcodecs/ad_pcm.c b/libmpcodecs/ad_pcm.c index 67a7a405c6..db2670cf1b 100644 --- a/libmpcodecs/ad_pcm.c +++ b/libmpcodecs/ad_pcm.c @@ -53,13 +53,6 @@ static int init(sh_audio_t *sh_audio) // 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;