[Mplayer-cvslog] CVS: main/libmpcodecs ad_pcm.c,1.6,1.7

Alex Beregszaszi alex at mplayerhq.hu
Mon Nov 4 21:28:42 CET 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv16813

Modified Files:
	ad_pcm.c 
Log Message:
qt swot support

Index: ad_pcm.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_pcm.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ad_pcm.c	30 Aug 2002 21:44:20 -0000	1.6
+++ ad_pcm.c	4 Nov 2002 20:28:21 -0000	1.7
@@ -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;
   }




More information about the MPlayer-cvslog mailing list