1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-28 12:32:17 +02:00
FFmpeg/libavcodec
Andreas Cadhalpun ada229e66f 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>
(cherry picked from commit 7a65aef00d113a38e0d1a54df49eead9df6aa15c)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-10-17 17:22:01 +02:00
..
2016-04-26 12:27:39 +02:00
2016-01-20 16:56:53 +00:00
2016-09-05 01:01:35 +02:00
2016-01-20 16:56:53 +00:00
2016-01-29 19:58:34 -03:00
2016-09-28 17:11:52 +02:00
2016-10-09 20:13:48 +02:00
2016-08-13 13:08:57 +02:00
2016-01-30 17:44:13 +00:00
2016-01-30 17:44:13 +00:00
2016-02-02 18:06:13 -08:00
2016-01-30 17:44:13 +00:00
2016-01-31 17:09:38 +01:00
2016-01-31 17:09:38 +01:00
2016-01-31 17:09:38 +01:00
2016-09-05 01:01:35 +02:00
2016-02-07 09:26:15 -08:00
2016-01-28 10:31:41 +01:00
2016-01-28 10:31:41 +01:00
2016-01-30 13:38:16 +01:00
2016-01-18 19:56:37 +01:00
2016-01-31 15:44:11 -08:00
2016-09-05 01:01:35 +02:00
2016-03-26 21:52:47 +01:00
2016-02-01 01:36:44 +01:00
2016-01-28 17:24:53 +01:00
2016-08-13 13:08:57 +02:00
2016-10-09 20:13:48 +02:00
2016-01-28 00:08:40 +00:00
2016-01-27 00:08:23 +01:00
2016-01-30 13:31:44 +01:00
2016-01-20 16:41:19 -03:00
2016-01-28 19:49:48 -08:00