[MPlayer-cvslog] r33076 - in trunk: etc/codecs.conf libmpcodecs/ad_pcm.c

cehoyos subversion at mplayerhq.hu
Sat Mar 12 11:55:33 CET 2011


Author: cehoyos
Date: Sat Mar 12 11:55:33 2011
New Revision: 33076

Log:
Support 32bit big endian float pcm in aiff.

Modified:
   trunk/etc/codecs.conf
   trunk/libmpcodecs/ad_pcm.c

Modified: trunk/etc/codecs.conf
==============================================================================
--- trunk/etc/codecs.conf	Sat Mar 12 11:50:14 2011	(r33075)
+++ trunk/etc/codecs.conf	Sat Mar 12 11:55:33 2011	(r33076)
@@ -4183,6 +4183,7 @@ audiocodec pcm
   format 0x32336e69  ; "in32" (MOV files)
   format 0x696e3332  ; "23ni" (MOV files)
   format 0x6D63706C  ; "lpcm" (MOV files)
+  format 0x32334C46  ; 'FL32" (aiff files)
 ;;;; these are for hardware support only:  (alaw,ulaw,ima-adpcm,mpeg,ac3)
 ;  format 0x6
 ;  format 0x7

Modified: trunk/libmpcodecs/ad_pcm.c
==============================================================================
--- trunk/libmpcodecs/ad_pcm.c	Sat Mar 12 11:50:14 2011	(r33075)
+++ trunk/libmpcodecs/ad_pcm.c	Sat Mar 12 11:55:33 2011	(r33076)
@@ -77,6 +77,7 @@ static int init(sh_audio_t * sh_audio)
             sh_audio->sample_format = AF_FORMAT_S8;
         break;
     case 0x32336c66: // 'fl32', bigendian float32
+    case 0x32334C46: // 'FL32', bigendian float32 in aiff
         sh_audio->sample_format = AF_FORMAT_FLOAT_BE;
         sh_audio->samplesize = 4;
         break;


More information about the MPlayer-cvslog mailing list