[vlc-commits] A-law and µ-law are ?==?UTF-8?Q?8-bits too

Rémi Denis-Courmont git at videolan.org
Wed Aug 31 23:02:52 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Aug 31 17:53:19 2011 +0300| [39ce7c4cebe65ba9089ec5d7dbf6f89331bf1ff0] | committer: Rémi Denis-Courmont

A-law and µ-law are 8-bits too

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=39ce7c4cebe65ba9089ec5d7dbf6f89331bf1ff0
---

 src/audio_output/common.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/audio_output/common.c b/src/audio_output/common.c
index 2fda66e..6dd6e9e 100644
--- a/src/audio_output/common.c
+++ b/src/audio_output/common.c
@@ -239,6 +239,8 @@ unsigned int aout_BitsPerSample( vlc_fourcc_t i_format )
     {
     case VLC_CODEC_U8:
     case VLC_CODEC_S8:
+    case VLC_CODEC_ALAW:
+    case VLC_CODEC_MULAW:
         return 8;
 
     case VLC_CODEC_U16L:



More information about the vlc-commits mailing list