Mercurial > mplayer.hg
changeset 23119:a27a3743f4b9
Add config.h variables for static FFmpeg libraries.
author | diego |
---|---|
date | Thu, 26 Apr 2007 13:20:18 +0000 |
parents | d23870bed7ee |
children | f35f14c39023 |
files | configure libmpcodecs/vf.c |
diffstat | 2 files changed, 16 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Thu Apr 26 13:11:22 2007 +0000 +++ b/configure Thu Apr 26 13:20:18 2007 +0000 @@ -6176,9 +6176,11 @@ fi _libavutil=no _def_libavutil='#undef USE_LIBAVUTIL' +_def_libavutil_a='#undef USE_LIBAVUTIL_A' _def_libavutil_so='#undef USE_LIBAVUTIL_SO' test "$_libavutil_a" = yes || test "$_libavutil_so" = yes && _libavutil=yes -test "$_libavutil_a" = yes && _def_libavutil='#define USE_LIBAVUTIL 1' +test "$_libavutil" = yes && _def_libavutil='#define USE_LIBAVUTIL 1' +test "$_libavutil_a" = yes && _def_libavutil='#define USE_LIBAVUTIL_A 1' test "$_libavutil_so" = yes && _def_libavutil='#define USE_LIBAVUTIL_SO 1' # neither static nor shared libavutil is available, but it is mandatory ... if test "$_libavutil" = no ; then @@ -6213,12 +6215,11 @@ fi _libavcodec=no _def_libavcodec='#undef USE_LIBAVCODEC' +_def_libavcodec_a='#undef USE_LIBAVCODEC_A' _def_libavcodec_so='#undef USE_LIBAVCODEC_SO' -_def_lavc_dsputil='#undef USE_LIBAVCODEC_DSPUTIL' test "$_libavcodec_a" = yes || test "$_libavcodec_so" = yes && _libavcodec=yes -test "$_libavcodec_a" = yes \ - && _def_lavc_dsputil='#define USE_LIBAVCODEC_DSPUTIL' test "$_libavcodec" = yes && _def_libavcodec='#define USE_LIBAVCODEC 1' +test "$_libavcodec_a" = yes && _def_libavcodec='#define USE_LIBAVCODEC_A 1' test "$_libavcodec_so" = yes && _def_libavcodec='#define USE_LIBAVCODEC_SO 1' test "$_libavcodec_mpegaudio_hp" = yes \ && _def_libavcodec_mpegaudio_hp='#define CONFIG_MPEGAUDIO_HP 1' @@ -6258,9 +6259,11 @@ fi _libavformat=no _def_libavformat='#undef USE_LIBAVFORMAT' +_def_libavformat_a='#undef USE_LIBAVFORMAT_A' _def_libavformat_so='#undef USE_LIBAVFORMAT_SO' test "$_libavformat_a" = yes || test "$_libavformat_so" = yes && _libavformat=yes -test "$_libavformat_a" = yes && _def_libavformat='#define USE_LIBAVFORMAT 1' +test "$_libavformat" = yes && _def_libavformat='#define USE_LIBAVFORMAT 1' +test "$_libavformat_a" = yes && _def_libavformat='#define USE_LIBAVFORMAT_A 1' test "$_libavformat_so" = yes \ && _def_libavformat_so='#define USE_LIBAVFORMAT_SO 1' fi @@ -6289,9 +6292,11 @@ fi _libpostproc=no _def_libpostproc='#undef USE_LIBPOSTPROC' +_def_libpostproc_a='#undef USE_LIBPOSTPROC_A' _def_libpostproc_so='#undef USE_LIBPOSTPROC_SO' test "$_libpostproc_a" = yes || test "$_libpostproc_so" = yes && _libpostproc=yes -test "$_libpostproc_a" = yes && _def_libpostproc='#define USE_LIBPOSTPROC 1' +test "$_libpostproc" = yes && _def_libpostproc='#define USE_LIBPOSTPROC 1' +test "$_libpostproc_a" = yes && _def_libpostproc='#define USE_LIBPOSTPROC_A 1' test "$_libpostproc_so" = yes \ && _def_libpostproc_so='#define USE_LIBPOSTPROC_SO 1' echores "$_libpostproc" @@ -8061,6 +8066,7 @@ /* Define this to enable image postprocessing in libavcodec (requires a FAST CPU!) */ $_def_libpostproc +$_def_libpostproc_a $_def_libpostproc_so /* Win32 DLL support */ @@ -8078,15 +8084,17 @@ /* ffmpeg's libavcodec support (requires libavcodec source) */ $_def_libavcodec +$_def_libavcodec_a $_def_libavcodec_so -$_def_lavc_dsputil $_def_libavcodec_mpegaudio_hp /* ffmpeg's libavformat support (requires libavformat source) */ $_def_libavformat +$_def_libavformat_a $_def_libavformat_so $_def_libavutil +$_def_libavutil_a $_def_libavutil_so /* Use libavcodec's decoders */