From aec928d75378a944be12e081dc634e59d6c2e2cd Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 2 Apr 2016 18:45:09 +0200 Subject: 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. --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wscript') 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'), }, ] -- cgit v1.2.3