mirror of https://git.ffmpeg.org/ffmpeg.git
set defaults before showing help
Originally committed as revision 5753 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
5cf226fb09
commit
7d6ed4aaf2
|
@ -304,10 +304,6 @@ filter_out(){
|
|||
echo "$@" | sed "s%\\<$pattern\\>%%g"
|
||||
}
|
||||
|
||||
if test x"$1" = x"-h" -o x"$1" = x"--help" ; then
|
||||
show_help
|
||||
fi
|
||||
|
||||
# set temporary file name
|
||||
if test ! -z "$TMPDIR" ; then
|
||||
TMPDIR1="${TMPDIR}"
|
||||
|
@ -664,6 +660,10 @@ else
|
|||
source_path="`cd \"$source_path\"; pwd`"
|
||||
fi
|
||||
|
||||
if test x"$1" = x"-h" -o x"$1" = x"--help" ; then
|
||||
show_help
|
||||
fi
|
||||
|
||||
FFMPEG_CONFIGURATION=" "
|
||||
for opt do
|
||||
FFMPEG_CONFIGURATION="$FFMPEG_CONFIGURATION""$opt "
|
||||
|
|
Loading…
Reference in New Issue