mirror of
https://github.com/mpv-player/mpv
synced 2025-03-21 10:51:51 +00:00
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
This commit is contained in:
parent
60b90aa682
commit
a5acf070f7
9
configure
vendored
9
configure
vendored
@ -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`
|
||||
@ -6278,9 +6275,7 @@ elif test "$_libpostproc_so" = auto ; then
|
||||
#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"
|
||||
|
Loading…
Reference in New Issue
Block a user