mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
sd_lavc: take care of AVPicture deprecation
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user