Commit e72ecce9 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Fix logic error pointed by Meuuh

parent 59e0425d
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment