From 2a80680d95fd86242579ad4dcaa752f481945b4e Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 8 Jan 2016 17:19:04 +0100 Subject: Fix build on older libavcodec versions avcodec_profile_name() was added only a week ago or so. --- wscript | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index 47071848aa..837f5dd62c 100644 --- a/wscript +++ b/wscript @@ -477,6 +477,12 @@ FFmpeg/Libav libraries. You need at least {0}. Aborting.".format(libav_versions_ 'func': check_statement('libavcodec/avcodec.h', 'AVSubtitleRect r = {.linesize={0}}', use='libav'), + }, { + 'name': 'avcodec-profile-name', + 'desc': 'libavcodec avcodec_profile_name()', + 'func': check_statement('libavcodec/avcodec.h', + 'avcodec_profile_name(0,0)', + use='libav'), }, ] -- cgit v1.2.3