sd_lavc: take care of AVPicture deprecation

This commit is contained in:
wm4
2015-10-23 20:14:08 +02:00
parent 97fc4f4a85
commit 252dcdcc99
3 changed files with 24 additions and 3 deletions

View File

@@ -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'