aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs
diff options
context:
space:
mode:
authorGravatar alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-04 20:28:21 +0000
committerGravatar alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-04 20:28:21 +0000
commit1c68e5af4b139e7c1bebdf0a6b94857c456376f0 (patch)
tree03108977407de9400e5d719da0a26966f87ec765 /libmpcodecs
parent4f148b5f42fa1e4fca3636d7ee81b3e091ab445e (diff)
qt swot support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8103 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/ad_pcm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libmpcodecs/ad_pcm.c b/libmpcodecs/ad_pcm.c
index e3b3430fd5..4eded7a0d9 100644
--- a/libmpcodecs/ad_pcm.c
+++ b/libmpcodecs/ad_pcm.c
@@ -29,8 +29,9 @@ static int init(sh_audio_t *sh_audio)
case 0x11: sh_audio->sample_format=AFMT_IMA_ADPCM;break;
case 0x50: sh_audio->sample_format=AFMT_MPEG;break;
/* case 0x2000: sh_audio->sample_format=AFMT_AC3; */
- case 0x736F7774:
- if(sh_audio->samplesize==1) sh_audio->sample_format=AFMT_S8; // 'twos'
+ case 0x736F7774: // 'twos'
+ case 0x74776F73: // 'swot'
+ if(sh_audio->samplesize==1) sh_audio->sample_format=AFMT_S8;
break;
default: if(sh_audio->samplesize!=2) sh_audio->sample_format=AFMT_U8;
}