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:
wm4 2016-04-01 10:13:13 +02:00
parent d0238711dc
commit 0d74652232
1 changed files with 1 additions and 1 deletions

View File

@ -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'),
},
]