From 252dcdcc999115f52dc11b0fcf41367a54df8eab Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 23 Oct 2015 20:14:08 +0200 Subject: sd_lavc: take care of AVPicture deprecation --- TOOLS/old-configure | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'TOOLS') 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' -- cgit v1.2.3