aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs
diff options
context:
space:
mode:
authorGravatar rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-14 22:15:24 +0000
committerGravatar rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-14 22:15:24 +0000
commit0ba7f250d72b3809fd73114a14b97124762e2340 (patch)
tree83225dc8ecc512b0a332f12491659de12e384b85 /libmpcodecs
parente6139d5a0f7ceac6990d97e8b22b293227693b4e (diff)
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
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/ad_pcm.c7
1 files changed, 0 insertions, 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;