changeset 32988:c99a947dae33

Support 'lpcm' in mov files, has audible (clipping?) artefacts on some systems.
author cehoyos
date Sat, 12 Mar 2011 10:50:14 +0000
parents 046b8e18127e
children 221d00deafec
files etc/codecs.conf libmpcodecs/ad_pcm.c
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/codecs.conf	Fri Mar 11 16:06:43 2011 +0000
+++ b/etc/codecs.conf	Sat Mar 12 10:50:14 2011 +0000
@@ -4182,6 +4182,7 @@
   format 0x696e3234  ; "42ni" (MOV files)
   format 0x32336e69  ; "in32" (MOV files)
   format 0x696e3332  ; "23ni" (MOV files)
+  format 0x6D63706C  ; "lpcm" (MOV files)
 ;;;; these are for hardware support only:  (alaw,ulaw,ima-adpcm,mpeg,ac3)
 ;  format 0x6
 ;  format 0x7
--- a/libmpcodecs/ad_pcm.c	Fri Mar 11 16:06:43 2011 +0000
+++ b/libmpcodecs/ad_pcm.c	Sat Mar 12 10:50:14 2011 +0000
@@ -81,6 +81,7 @@
         sh_audio->samplesize = 4;
         break;
     case 0x666c3332: // '23lf', little endian float32, MPlayer internal fourCC
+    case 0x6D63706C: // 'lpcm'
         sh_audio->sample_format = AF_FORMAT_FLOAT_LE;
         sh_audio->samplesize = 4;
         break;