[vlc-commits] Videotoolbox: fix compilation for 10.8

Jean-Baptiste Kempf git at videolan.org
Wed Dec 21 20:25:03 CET 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Dec 21 20:22:47 2016 +0100| [c30f4c6b0c22aa3c1288c10c2762cc82b1baab76] | committer: Jean-Baptiste Kempf

Videotoolbox: fix compilation for 10.8

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 54a42ba..3bbf035 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -59,7 +59,7 @@
 static int OpenDecoder(vlc_object_t *);
 static void CloseDecoder(vlc_object_t *);
 
-#if MAC_OS_X_VERSION_MAX_ALLOWED < 1090
+#if MAC_OS_X_VERSION_MIN_ALLOWED < 1090
 const CFStringRef kVTVideoDecoderSpecification_EnableHardwareAcceleratedVideoDecoder = CFSTR("EnableHardwareAcceleratedVideoDecoder");
 const CFStringRef kVTVideoDecoderSpecification_RequireHardwareAcceleratedVideoDecoder = CFSTR("RequireHardwareAcceleratedVideoDecoder");
 #endif



More information about the vlc-commits mailing list