aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2009-02-10 11:29:31 +0000
committerDiego Biurrun <diego@biurrun.de>2009-02-10 11:29:31 +0000
commit3d6fac8cee1a5d4afb0b79894d83d076d4715e19 (patch)
treef80b8afd9a7c7c168313166965592b7b06706db5
parent79ff462e73e73591573bcd01e8ee6614b7ac1c69 (diff)
downloadffmpeg-3d6fac8cee1a5d4afb0b79894d83d076d4715e19.tar.gz
Use default system include path for an installed OpenJPEG library.
patch by Mathieu Malaterre, mathieu.malaterre gmail com Originally committed as revision 17129 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure2
-rw-r--r--libavcodec/libopenjpeg.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 9ad386c4d2..dc51fa592d 100755
--- a/configure
+++ b/configure
@@ -1931,7 +1931,7 @@ enabled libfaad && require2 libfaad faad.h faacDecOpen -lfaad
enabled libgsm && require libgsm gsm.h gsm_create -lgsm
enabled libmp3lame && require libmp3lame lame/lame.h lame_init -lmp3lame -lm
enabled libnut && require libnut libnut.h nut_demuxer_init -lnut
-enabled libopenjpeg && require libopenjpeg libopenjpeg/openjpeg.h opj_version -lopenjpeg
+enabled libopenjpeg && require libopenjpeg openjpeg.h opj_version -lopenjpeg
enabled libschroedinger && add_cflags $(pkg-config --cflags schroedinger-1.0) &&
require libschroedinger schroedinger/schro.h schro_init $(pkg-config --libs schroedinger-1.0)
enabled libspeex && require libspeex speex/speex.h speex_decoder_init -lspeex
diff --git a/libavcodec/libopenjpeg.c b/libavcodec/libopenjpeg.c
index f231ea3336..70581ee73c 100644
--- a/libavcodec/libopenjpeg.c
+++ b/libavcodec/libopenjpeg.c
@@ -27,7 +27,7 @@
#include "avcodec.h"
#include "libavutil/intreadwrite.h"
#define OPJ_STATIC
-#include <libopenjpeg/openjpeg.h>
+#include <openjpeg.h>
#define JP2_SIG_TYPE 0x6A502020
#define JP2_SIG_VALUE 0x0D0A870A