From: Felix Paul Kühne Date: Wed, 11 Jun 2008 16:28:19 +0000 (+0200) Subject: Fix logic error pointed by Meuuh X-Git-Tag: 0.9.0-test0~219 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=e72ecce9ec4febce33d043eb88bed83a32466ed0;p=vlc Fix logic error pointed by Meuuh --- diff --git a/modules/codec/quicktime.c b/modules/codec/quicktime.c index 18d0a8e1c8..dd1255668b 100644 --- a/modules/codec/quicktime.c +++ b/modules/codec/quicktime.c @@ -268,10 +268,10 @@ 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 */