diff options
author | wm4 <wm4@nowhere> | 2016-01-08 17:19:04 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-08 17:19:04 +0100 |
commit | 2a80680d95fd86242579ad4dcaa752f481945b4e (patch) | |
tree | 7b8890db06cc061368a597a459965ac25805a20d /wscript | |
parent | 8e87ddd7fe21bf15fbc9db1493edf296f0e30b61 (diff) | |
download | mpv-2a80680d95fd86242579ad4dcaa752f481945b4e.tar.bz2 mpv-2a80680d95fd86242579ad4dcaa752f481945b4e.tar.xz |
Fix build on older libavcodec versions
avcodec_profile_name() was added only a week ago or so.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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'), }, ] |