From 0a0967f48b23a20dce393ec5983b46bb6b361971 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 18 Aug 2016 14:55:43 +0200 Subject: [PATCH] build: make avutil-mastering-metadata check slightly more robust Fixes the specific scenario of compiling against a local Libav build, while the system has FFmpeg installed. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 4c49caf4b2..9ee9533930 100644 --- a/wscript +++ b/wscript @@ -508,7 +508,7 @@ FFmpeg/Libav libraries. You need at least {0}. Aborting.".format(libav_versions_ }, { 'name': 'avutil-mastering-metadata', 'desc': 'libavutil mastering display metadata struct', - 'func': check_statement('libavutil/mastering_display_metadata.h', + 'func': check_statement('libavutil/frame.h', 'AV_FRAME_DATA_MASTERING_DISPLAY_METADATA', use='libav'), }