diff options
author | attila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-10-16 08:45:10 +0000 |
---|---|---|
committer | attila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-10-16 08:45:10 +0000 |
commit | bf698904668eec367acea2d8ab5ef49e9e0e4b4a (patch) | |
tree | 788461add390ef3c3a0f6bc1a203e2e0f91d6db9 /configure | |
parent | 9de35c6edc784ca2784f8bf24a7d73d48c2e1d0a (diff) | |
download | mpv-bf698904668eec367acea2d8ab5ef49e9e0e4b4a.tar.bz2 mpv-bf698904668eec367acea2d8ab5ef49e9e0e4b4a.tar.xz |
Fix compilation when libavcodec is missing.
Patch by Nico <nsabbi@libero.it>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11142 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -3289,6 +3289,7 @@ fi if test "$_dvb" = yes || test "$_dvbhead" = yes ; then _dvbin=yes + _inputmodules="dvb $_inputmodules" else _dvbin=no fi @@ -4769,6 +4770,11 @@ else echores "$_libavcodec" fi +_def_haveffpostprocess='no' +if test -d libavcodec && test -f libavcodec/libpostproc/postprocess.h ; then + _def_haveffpostprocess='yes' +fi + if test "$_libavcodec" != yes ; then echocheck "FFmpeg libavcodec (dynamic)" if test "$_libavcodecso" = auto ; then @@ -4806,7 +4812,6 @@ elif test "$_libavcodecso" = yes ; then _def_libavcodec='#define USE_LIBAVCODEC 1' _def_libavcodecso='#define USE_LIBAVCODEC_SO 1' _ld_libavcodec='-lavcodec' - _def_ffpostprocess='#define FF_POSTPROCESS 1' _codecmodules="libavcodec.so $_codecmodules" else _nocodecmodules="libavcodec $_nocodecmodules" @@ -5676,7 +5681,7 @@ MATROSKA_LIB = $_ld_matroska OPENDIVX = $_opendivx UNRARLIB = $_unrarlib - +HAVE_FFPOSTPROCESS = $_def_haveffpostprocess PNG = $_mkf_png JPEG = $_mkf_jpg GIF = $_mkf_gif |