X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=transcoding.sh;h=e62eb8c82ae2f23605a0ea714d65c9538bb89e20;hb=2adea9f215c202bd7054ffdb0b379f4cf1db3fd1;hp=70e6be31b10067eae0be0d55a6deab21eb582efa;hpb=46dd851ef09fcb3c7b68ba2278b7ce443c72a8e0;p=rawnet diff --git a/transcoding.sh b/transcoding.sh index 70e6be3..e62eb8c 100755 --- a/transcoding.sh +++ b/transcoding.sh @@ -69,6 +69,8 @@ transcode_run(){ width="${meta#*width=}"; width="${width%%${BR}*}" height="${meta#*height=}"; height="${height%%${BR}*}" + [ "$width" -a "$height" ] || return 1 + transcode_resolutions "$width" "$height" file="$(printf %s "$file" |sed "s;';'\\\\'';g")"