diff --git a/scripts/cut-video b/scripts/cut-video index f55f0c3..5916112 100755 --- a/scripts/cut-video +++ b/scripts/cut-video @@ -2,7 +2,7 @@ ts2sec() { IFS=:; set -- $1 - echo $(($1*60*60 + $2*60 + $3)) + echo $((${1#0}*60*60 + ${2#0}*60 + ${3#0})) } SRC="$1"