aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/matroskaenc.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-10-11 20:28:35 +0200
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-10-13 21:04:19 +0200
commit7a65aef00d113a38e0d1a54df49eead9df6aa15c (patch)
treef0bcc427e08f97c3c02454d83f2e82b4e4d149a0 /libavformat/matroskaenc.c
parentc593a70cda5673ed3a04c909ddc00e1147f53622 (diff)
downloadffmpeg-7a65aef00d113a38e0d1a54df49eead9df6aa15c.tar.gz
configure: fix detection of libopenjpeg
Use check_lib2 to test the header together with the function. This is necessary, because '-DOPJ_STATIC' changes what the included header does. Also add '-DOPJ_STATIC' to CPPFLAGS, so that it isn't necessary to hardcode this in libavcodec/libopenjpeg{dec,enc}.c. Finally, check for non-static openjpeg 2.1, too. Reviewed-by: Michael Bradshaw <mjbshaw@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavformat/matroskaenc.c')
0 files changed, 0 insertions, 0 deletions