summaryrefslogtreecommitdiff
path: root/transcode.sh.1
diff options
context:
space:
mode:
authorDennis Fink2026-05-14 23:13:44 +0200
committerDennis Fink2026-05-14 23:13:44 +0200
commitf575518dcfba692367b76507a63568ab3259e47c (patch)
tree3b5aef07ac162800cd38aa9cc9290e0e72ad472b /transcode.sh.1
parent7a39e35bf0e3a63b32071ca132abe70b967ede11 (diff)
downloadtranscode.sh-f575518dcfba692367b76507a63568ab3259e47c.tar.gz
transcode.sh-f575518dcfba692367b76507a63568ab3259e47c.zip
style(shell): prefer explicit conditionals for validation
Replace compact `[[ ... ]] || { ... }` guard blocks with explicit `if` statements in config loading, preset loading, CLI argument validation, size report helpers, and encode-file handling. Rename the local preset variable in `load_preset` to `preset_name` for clearer intent, and simplify the nice-value range check and size-report summary default percentage handling. No runtime behavior is intended to change.
Diffstat (limited to 'transcode.sh.1')
0 files changed, 0 insertions, 0 deletions