changeset 8102:2759150cc687

qt swot support
author alex
date Mon, 04 Nov 2002 20:28:21 +0000
parents 1bce6e325946
children d2d2e01343ca
files libmpcodecs/ad_pcm.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_pcm.c	Mon Nov 04 18:46:53 2002 +0000
+++ b/libmpcodecs/ad_pcm.c	Mon Nov 04 20:28:21 2002 +0000
@@ -29,8 +29,9 @@
     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;
   }