mirror of https://github.com/mpv-player/mpv
build: fix AVCodecParameters FFmpeg API check (again)
Commit 0d746522
was complete non-sense. The description and the code
mention the wrong struct.
This time I actually tested it.
This commit is contained in:
parent
7089175d8d
commit
aec928d753
4
wscript
4
wscript
|
@ -494,8 +494,8 @@ 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',
|
||||
'(void)offsetof(AVCodecContext, codecpar)',
|
||||
'func': check_statement('libavformat/avformat.h',
|
||||
'(void)offsetof(AVStream, codecpar)',
|
||||
use='libav'),
|
||||
},
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue