diff options
author | wm4 <wm4@nowhere> | 2016-04-02 18:45:09 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-04-02 18:45:09 +0200 |
commit | aec928d75378a944be12e081dc634e59d6c2e2cd (patch) | |
tree | b932d6511c6c11f38c7f3dfe4f5391536f22b1cb /wscript | |
parent | 7089175d8d45d7c75621e56d2a3623fe02e38960 (diff) | |
download | mpv-aec928d75378a944be12e081dc634e59d6c2e2cd.tar.bz2 mpv-aec928d75378a944be12e081dc634e59d6c2e2cd.tar.xz |
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.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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'), }, ] |