[vlc-commits] VT: fix compilation with older SDKs

Jean-Baptiste Kempf git at videolan.org
Sat Nov 25 13:06:53 CET 2017


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Nov 25 13:06:25 2017 +0100| [6e595cc820c47f3b374fd6174f8e0a71b9421cbe] | committer: Jean-Baptiste Kempf

VT: fix compilation with older SDKs

The HEVC define arrived in SDK 10.11

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

 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 dd246e1bb1..8b85b1a303 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -60,7 +60,7 @@
 
 #endif
 
-#ifndef MAC_OS_X_VERSION_10_13
+#ifndef MAC_OS_X_VERSION_10_11
 enum { kCMVideoCodecType_HEVC = 'hvc1' };
 #endif
 



More information about the vlc-commits mailing list