[vlc-devel] [PATCH 2/2] videotoolbox: Use noErr instead of 0
Marvin Scholz
epirat07 at gmail.com
Mon Oct 16 00:18:23 CEST 2017
---
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)
--
2.13.5 (Apple Git-94)
More information about the vlc-devel
mailing list