[vlc-devel] commit: We also want to activate AMR-WB. More to come within the next few days. ( Felix Paul Kühne )

git version control git at videolan.org
Wed Jun 11 09:43:08 CEST 2008


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Jun 11 09:44:53 2008 +0200| [a7cde6734406704ee529a3bef09e1f4af5d3637d]

We also want to activate AMR-WB. More to come within the next few days.

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

 modules/codec/quicktime.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/codec/quicktime.c b/modules/codec/quicktime.c
index 804f44f..7c6025a 100644
--- a/modules/codec/quicktime.c
+++ b/modules/codec/quicktime.c
@@ -255,13 +255,14 @@ static int Open( vlc_object_t *p_this )
 
 #ifdef __APPLE__
         case VLC_FOURCC('I','L','B','C'): /* iLBC */
-            if ((err == noErr) && (qtVersion < 0x07500000)) 
+            if ((err == noErr) || (qtVersion < 0x07500000)) 
                 return VLC_EGENERIC;
         case VLC_FOURCC('i','l','b','c'): /* iLBC */
-            if ((err == noErr) && (qtVersion < 0x07500000)) 
+            if ((err == noErr) || (qtVersion < 0x07500000)) 
                 return VLC_EGENERIC;
 #endif
         case VLC_FOURCC('s','a','m','r'): /* 3GPP AMR audio */
+        case VLC_FOURCC('s','a','m','b'): /* 3GPP AMR-WB audio */
         case VLC_FOURCC('m','p','4','a'): /* MPEG-4 audio */
         case VLC_FOURCC('Q','D','M','C'): /* QDesign */
         case VLC_FOURCC('Q','D','M','2'): /* QDesign* 2 */




More information about the vlc-devel mailing list