nixpkgs/pkgs/development/libraries/ffmpeg/sdk_detection.patch

13 lines
336 B
Diff
Raw Normal View History

2016-09-06 09:58:34 +01:00
diff --git a/libavcodec/audiotoolboxdec.c b/libavcodec/audiotoolboxdec.c
--- a/libavcodec/audiotoolboxdec.c
+++ b/libavcodec/audiotoolboxdec.c
@@ -32,7 +32,7 @@
#include "libavutil/opt.h"
#include "libavutil/log.h"
-#ifndef __MAC_10_11
+#if __MAC_OS_X_VERSION_MIN_REQUIRED < 101100
#define kAudioFormatEnhancedAC3 'ec-3'
#endif