nixpkgs/pkgs/development/libraries/ffmpeg/sdk_detection.patch
2016-09-06 10:58:34 +02:00

13 lines
336 B
Diff

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