[Mplayer-cvslog] CVS: main/libmpcodecs ad_pcm.c,1.13,1.14

Alex Beregszaszi syncmail at mplayerhq.hu
Mon Oct 4 22:21:07 CEST 2004


CVS change done by Alex Beregszaszi

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv32708

Modified Files:
	ad_pcm.c 
Log Message:
make use of 24bit afmt

Index: ad_pcm.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_pcm.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ad_pcm.c	6 Jun 2004 21:18:49 -0000	1.13
+++ ad_pcm.c	4 Oct 2004 20:21:05 -0000	1.14
@@ -31,9 +31,7 @@
        switch (sh_audio->samplesize) {
          case 1: sh_audio->sample_format=AFMT_U8; break;
          case 2: sh_audio->sample_format=AFMT_S16_LE; break;
-         case 3: sh_audio->sample_format=AFMT_AF_FLAGS | AF_FORMAT_I |
-                   AF_FORMAT_LE | AF_FORMAT_SI;
-           break;
+         case 3: sh_audio->sample_format=AFMT_S24_LE; break;
          case 4: sh_audio->sample_format=AFMT_S32_LE; break;
        }
        break;




More information about the MPlayer-cvslog mailing list