[Mplayer-cvslog] CVS: main/libmpcodecs ad_pcm.c,1.12,1.13
Roberto Togni CVS
syncmail at mplayerhq.hu
Sun Jun 6 23:18:52 CEST 2004
CVS change done by Roberto Togni CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv18235
Modified Files:
ad_pcm.c
Log Message:
More support for audio format 0x0
Patch by Reimar Doeffinger
Index: ad_pcm.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_pcm.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ad_pcm.c 23 May 2004 21:45:29 -0000 1.12
+++ ad_pcm.c 6 Jun 2004 21:18:49 -0000 1.13
@@ -26,6 +26,7 @@
sh_audio->samplesize=(h->wBitsPerSample+7)/8;
sh_audio->sample_format=AFMT_S16_LE; // default
switch(sh_audio->format){ /* hardware formats: */
+ case 0x0:
case 0x1: // Microsoft PCM
switch (sh_audio->samplesize) {
case 1: sh_audio->sample_format=AFMT_U8; break;
More information about the MPlayer-cvslog
mailing list