summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-26 12:26:52 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-26 12:26:52 +0000
commita5acf070f70b87a7f211ddcae90c9e1ad855ab82 (patch)
treee47f31ae88d850d7f17eaf917f386bce096450cb /configure
parent60b90aa68222e71775355507e021763ece715256 (diff)
downloadmpv-a5acf070f70b87a7f211ddcae90c9e1ad855ab82.tar.bz2
mpv-a5acf070f70b87a7f211ddcae90c9e1ad855ab82.tar.xz
cosmetics: Fix indentation, merge some lines in the FFmpeg checks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23126 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure19
1 files changed, 7 insertions, 12 deletions
diff --git a/configure b/configure
index d02e2729ea..6e78fa9b9b 100755
--- a/configure
+++ b/configure
@@ -6197,7 +6197,6 @@ if test "$_libavcodec_a" = auto ; then
#endif
int main(void) { return 0; }
EOF
-
if cc_check -I. -I./libavutil; then
_libavutil_required="no"
else
@@ -6216,9 +6215,7 @@ elif test "$_libavcodec_so" = auto ; then
# FIXME : check for avcodec_find_encoder_by_name() for mencoder
cat > $TMPC << EOF
#include <ffmpeg/avcodec.h>
-int main(void) {
- avcodec_find_encoder_by_name("");
- return 0; }
+int main(void) { avcodec_find_encoder_by_name(""); return 0; }
EOF
if $_pkg_config --exists libavcodec ; then
_inc_libavcodec=`$_pkg_config --cflags libavcodec`
@@ -6267,20 +6264,18 @@ echores "$_libavformat"
echocheck "FFmpeg libpostproc"
if test "$_libpostproc_a" = auto ; then
-_libpostproc_a=no
-if test -d libpostproc && test -f libpostproc/postprocess.h ; then
- _libpostproc_a='yes'
- _res_comment="static"
-fi
+ _libpostproc_a=no
+ if test -d libpostproc && test -f libpostproc/postprocess.h ; then
+ _libpostproc_a='yes'
+ _res_comment="static"
+ fi
elif test "$_libpostproc_so" = auto ; then
_libpostproc_so=no
cat > $TMPC << EOF
#define USE_LIBPOSTPROC 1
#include <inttypes.h>
#include <postproc/postprocess.h>
- int main(void) {
- pp_get_mode_by_name_and_quality("de", 0);
- return 0;}
+ int main(void) { pp_get_mode_by_name_and_quality("de", 0); return 0; }
EOF
if cc_check -lpostproc $_ld_lm ; then
_ld_extra="$_ld_extra -lpostproc"