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:
wm4 2016-04-02 18:45:09 +02:00
parent 7089175d8d
commit aec928d753
1 changed files with 2 additions and 2 deletions

View File

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