summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-04-02 18:45:09 +0200
committerwm4 <wm4@nowhere>2016-04-02 18:45:09 +0200
commitaec928d75378a944be12e081dc634e59d6c2e2cd (patch)
treeb932d6511c6c11f38c7f3dfe4f5391536f22b1cb /wscript
parent7089175d8d45d7c75621e56d2a3623fe02e38960 (diff)
downloadmpv-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--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index cd1ff24cee..f4fe38ed59 100644
--- a/wscript
+++ b/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'),
},
]