[Mplayer-cvslog] CVS: main/libmpcodecs ad_pcm.c,1.4,1.5

Arpi of Ize arpi at mplayerhq.hu
Thu May 30 02:40:57 CEST 2002


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

Modified Files:
	ad_pcm.c 
Log Message:
8bit 'twos' S8 pcm audio support - fixes MOTI1E.MOV


Index: ad_pcm.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_pcm.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ad_pcm.c	25 Apr 2002 12:29:55 -0000	1.4
+++ ad_pcm.c	30 May 2002 00:40:55 -0000	1.5
@@ -30,6 +30,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'
+       break;
     default: if(sh_audio->samplesize!=2) sh_audio->sample_format=AFMT_U8;
   }
   return 1;




More information about the MPlayer-cvslog mailing list