Shorter aruments support

ffmpeg_4.4.2
Javernaut 5 years ago
parent 9f925950a2
commit 226a462159
  1. 8
      scripts/parse-arguments.sh

@ -14,7 +14,7 @@ for argument in "$@"
do do
case $argument in case $argument in
# Use this value as Android platform version during compilation. # Use this value as Android platform version during compilation.
--android-api-level=*) --android-api-level=*|-android=*)
API_LEVEL="${argument#*=}" API_LEVEL="${argument#*=}"
shift shift
;; ;;
@ -37,15 +37,15 @@ do
shift shift
;; ;;
# Arguments below enable certain external libraries to build into FFmpeg # Arguments below enable certain external libraries to build into FFmpeg
--enable-libaom) --enable-libaom|-aom)
EXTERNAL_LIBRARIES+=( "libaom" ) EXTERNAL_LIBRARIES+=( "libaom" )
shift shift
;; ;;
--enable-libdav1d) --enable-libdav1d|-dav1d)
EXTERNAL_LIBRARIES+=( "libdav1d" ) EXTERNAL_LIBRARIES+=( "libdav1d" )
shift shift
;; ;;
--enable-libmp3lame) --enable-libmp3lame|-mp3lame)
EXTERNAL_LIBRARIES+=( "libmp3lame" ) EXTERNAL_LIBRARIES+=( "libmp3lame" )
shift shift
;; ;;

Loading…
Cancel
Save