[MPlayer-cvslog] CVS: main/libmpcodecs ad_pcm.c,1.14,1.15

Roberto Togni CVS syncmail at mplayerhq.hu
Sat Nov 27 16:39:40 CET 2004


CVS change done by Roberto Togni CVS

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

Modified Files:
	ad_pcm.c 
Log Message:
fl32: BE float32 PCM audio in mov files


Index: ad_pcm.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_pcm.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ad_pcm.c	4 Oct 2004 20:21:05 -0000	1.14
+++ ad_pcm.c	27 Nov 2004 15:39:38 -0000	1.15
@@ -57,6 +57,10 @@
        sh_audio->ds->ss_mul= sh_audio->samplesize * sh_audio->channels;
 #endif
        break;
+    case 0x32336c66: // 'fl32', bigendian float32
+       sh_audio->sample_format=AFMT_AF_FLAGS | AF_FORMAT_BE | AF_FORMAT_F;
+       sh_audio->samplesize=4;
+       break;
     default: if(sh_audio->samplesize!=2) sh_audio->sample_format=AFMT_U8;
   }
   return 1;




More information about the MPlayer-cvslog mailing list