[FFmpeg-devel] [PATCH]Allow using libopenjpeg 2.x

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Sep 16 22:35:13 CEST 2014


Hi!

Attached patch allows using libopenjpeg 2.x (tested with 2.1) here.
Based on a patch by mcirsta.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/configure b/configure
index 392cbb1..47fca96 100755
--- a/configure
+++ b/configure
@@ -4827,6 +4827,7 @@ enabled libopencore_amrwb && require libopencore_amrwb opencore-amrwb/dec_if.h D
 enabled libopencv         && require_pkg_config opencv opencv/cxcore.h cvCreateImageHeader
 enabled libopenjpeg       && { check_lib openjpeg-1.5/openjpeg.h opj_version -lopenjpeg -DOPJ_STATIC ||
                                check_lib openjpeg.h opj_version -lopenjpeg -DOPJ_STATIC ||
+                               check_lib openjpeg.h opj_version -lopenmj2 -DOPJ_STATIC ||
                                die "ERROR: libopenjpeg not found"; }
 enabled libopus           && require_pkg_config opus opus_multistream.h opus_multistream_decoder_create
 enabled libpulse          && require_pkg_config libpulse pulse/pulseaudio.h pa_context_new


More information about the ffmpeg-devel mailing list