[vlc-commits] macosx: do not use vlc_assert_unreachable in third-party code

David Fuhrmann git at videolan.org
Sun Feb 22 19:32:32 CET 2015


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Feb 22 19:30:20 2015 +0100| [caf8d8afa8044a42d4d671f9bdb7fc08713d8a52] | committer: David Fuhrmann

macosx: do not use vlc_assert_unreachable in third-party code

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

 modules/gui/macosx/SPMediaKeyTap.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/SPMediaKeyTap.m b/modules/gui/macosx/SPMediaKeyTap.m
index 9be81c7..3917731 100644
--- a/modules/gui/macosx/SPMediaKeyTap.m
+++ b/modules/gui/macosx/SPMediaKeyTap.m
@@ -220,7 +220,7 @@ static CGEventRef tapEventCallback2(CGEventTapProxy proxy, CGEventType type, CGE
     }
     @catch (NSException * e) {
         NSLog(@"Strange CGEventType: %d: %@", type, e);
-        vlc_assert_unreachable();
+        assert(0);
         return event;
     }
 



More information about the vlc-commits mailing list