summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-10-23 20:14:08 +0200
committerwm4 <wm4@nowhere>2015-10-23 20:14:08 +0200
commit252dcdcc999115f52dc11b0fcf41367a54df8eab (patch)
treed1933bca58ff63cb469098070e34cbd14e65cee3 /TOOLS
parent97fc4f4a85cc62c3de34eb2d54ccf79cb76f101d (diff)
downloadmpv-252dcdcc999115f52dc11b0fcf41367a54df8eab.tar.bz2
mpv-252dcdcc999115f52dc11b0fcf41367a54df8eab.tar.xz
sd_lavc: take care of AVPicture deprecation
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 4ae6c72f26..a4d3cee0cb 100755
--- a/TOOLS/old-configure
+++ b/TOOLS/old-configure
@@ -816,6 +816,12 @@ api_statement_check \
libavcodec/avcodec.h \
'int x[(int)sizeof(((AVPacket){0}).duration) - 7]'
+api_statement_check \
+ "libavcodec AVSubtitleRect AVPicture removal" \
+ HAVE_AV_SUBTITLE_NOPICT \
+ libavcodec/avcodec.h \
+ 'AVSubtitleRect r = {.linesize={0}}'
+
check_pkg_config "libavfilter" $_libavfilter LIBAVFILTER 'libavfilter >= 5.0.0'
check_pkg_config "libavdevice" $_libavdevice LIBAVDEVICE 'libavdevice >= 55.0.0'