[MPlayer-cvslog] CVS: main/libmpcodecs ad_pcm.c,1.20,1.21

Dominik Mierzejewski CVS syncmail at mplayerhq.hu
Sat Mar 11 23:43:30 CET 2006


CVS change done by Dominik Mierzejewski CVS

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

Modified Files:
	ad_pcm.c 
Log Message:
QuickTime in24 and in32 PCM audio support


Index: ad_pcm.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_pcm.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- ad_pcm.c	18 Nov 2005 14:39:21 -0000	1.20
+++ ad_pcm.c	11 Mar 2006 22:43:27 -0000	1.21
@@ -65,6 +65,14 @@
        sh_audio->sample_format=AF_FORMAT_FLOAT_BE;
        sh_audio->samplesize=4;
        break;
+    case 0x34326e69: // 'in24', bigendian int24
+       sh_audio->sample_format=AF_FORMAT_S24_BE;
+       sh_audio->samplesize=3;
+       break;
+    case 0x32336e69: // 'in32', bigendian int32
+       sh_audio->sample_format=AF_FORMAT_S32_BE;
+       sh_audio->samplesize=4;
+       break;
     default: if(sh_audio->samplesize!=2) sh_audio->sample_format=AF_FORMAT_U8;
   }
   if (!sh_audio->samplesize) // this would cause MPlayer to hang later




More information about the MPlayer-cvslog mailing list