mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 15:52:25 +00:00
build: fix AVCodecParameters FFmpeg API check
FFmpeg partially merged the API change. It added the AVCodecParameters definition, but not the AVCodecContext.codecpar field. The new code compiles only with the API fully merged, so adjust the check.
This commit is contained in:
parent
d0238711dc
commit
0d74652232
2
wscript
2
wscript
@ -495,7 +495,7 @@ FFmpeg/Libav libraries. You need at least {0}. Aborting.".format(libav_versions_
|
||||
'name': 'avcodec-has-codecpar',
|
||||
'desc': 'libavcodec AVCodecParameters API',
|
||||
'func': check_statement('libavcodec/avcodec.h',
|
||||
'AVCodecParameters *p = NULL',
|
||||
'(void)offsetof(AVCodecContext, codecpar)',
|
||||
use='libav'),
|
||||
},
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user