[vlc-commits] videotoolbox: Use noErr instead of 0
Marvin Scholz
git at videolan.org
Mon Oct 16 00:49:22 CEST 2017
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | 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)
More information about the vlc-commits
mailing list