vlc | branch: master | Marvin Scholz <[email protected]> | Mon Oct 16 00:15:47 
2017 +0200| [4470059611d75a039a15d922b6a24fdb1b1cdaeb] | committer: Marvin 
Scholz

videotoolbox: Use noErr instead of 0

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

 modules/codec/videotoolbox.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index d406ac54bf..def5b0d2f4 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -1283,7 +1283,7 @@ static int HandleVTStatus(decoder_t *p_dec, OSStatus 
status,
 
     switch (status)
     {
-        case 0:
+        case noErr:
             return VLC_SUCCESS;
 
         VTERRCASE(kVTPropertyNotSupportedErr)

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to