summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-10 22:13:52 +0200
committerwm4 <wm4@nowhere>2015-09-10 22:13:52 +0200
commit9e04e319061495356277f647c1ce154e6b6cb6a4 (patch)
treeab55b0d8ddeced86cf34c903f73b8c837f57706a /TOOLS
parenta8eae12af5064a823976e264b33c5a37bd447ef8 (diff)
downloadmpv-9e04e319061495356277f647c1ce154e6b6cb6a4.tar.bz2
mpv-9e04e319061495356277f647c1ce154e6b6cb6a4.tar.xz
video: do not use deprecated libavutil pixdesc fields
These were normalized and are saner now. We want to use the new fields, and also get rid of the deprecation warnings, so use them. There's no release yet which uses these, so some ifdeffery is unfortunately needed.
Diffstat (limited to 'TOOLS')
-rwxr-xr-xTOOLS/old-configure6
1 files changed, 6 insertions, 0 deletions
diff --git a/TOOLS/old-configure b/TOOLS/old-configure
index 5f4e8e7061..cdb65b0d7d 100755
--- a/TOOLS/old-configure
+++ b/TOOLS/old-configure
@@ -798,6 +798,12 @@ api_statement_check \
libavutil/avutil.h \
'const char *x = av_version_info()'
+api_statement_check \
+ "libavutil new pixdesc fields" \
+ HAVE_AV_NEW_PIXDESC \
+ libavutil/pixdesc.h \
+ 'AVComponentDescriptor d; int x = d.depth'
+
check_pkg_config "libavfilter" $_libavfilter LIBAVFILTER 'libavfilter >= 5.0.0'
check_pkg_config "libavdevice" $_libavdevice LIBAVDEVICE 'libavdevice >= 55.0.0'