fix wrong output

This commit is contained in:
2024-05-12 11:51:41 -05:00
parent a3597f7daf
commit 9541d12a1f

View File

@@ -103,7 +103,7 @@ while getopts "$OPTS" flag; do
done done
# allow optional output filename # allow optional output filename
if [[ "$#" -eq $MAX_OPT ]]; then if [[ $(($# % 2)) != 0 ]]; then
OUTPUT="${@: -1}" OUTPUT="${@: -1}"
else else
OUTPUT="${HOME}/av1_${INPUT}" OUTPUT="${HOME}/av1_${INPUT}"