[vlc-devel] commit: Fix logic error pointed by Meuuh ( Felix Paul Kühne )
git version control
git at videolan.org
Wed Jun 11 18:27:05 CEST 2008
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Jun 11 18:28:19 2008 +0200| [e72ecce9ec4febce33d043eb88bed83a32466ed0]
Fix logic error pointed by Meuuh
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e72ecce9ec4febce33d043eb88bed83a32466ed0
---
modules/codec/quicktime.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/codec/quicktime.c b/modules/codec/quicktime.c
index 18d0a8e..dd12556 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 */
More information about the vlc-devel
mailing list