small fixes

This commit is contained in:
2025-10-24 20:46:04 -05:00
parent 2cc802ff78
commit 1a6f442679
3 changed files with 21 additions and 12 deletions

View File

@@ -235,7 +235,7 @@ set_encode_opts() {
C)
if ! is_positive_integer "${OPTARG}" || test ${OPTARG} -gt 63; then
echo_fail "${OPTARG} is not a valid CRF value (0-63)"
usage
encode_usage
exit 1
fi
CRF="${OPTARG}"
@@ -278,7 +278,7 @@ set_encode_opts() {
if [[ ! -f ${INPUT} ]]; then
echo "${INPUT} does not exist"
efg_usage
encode_usage
return 1
fi