fix bitrate copy check

This commit is contained in:
Vincent Riquer 2013-04-22 11:51:19 +02:00
parent a2ece56108
commit 619a96520e

View File

@ -10,7 +10,7 @@ checkCopy() {
(( ${bitrate:-1000} == ${destinationquality[$destination]} )) \ (( ${bitrate:-1000} == ${destinationquality[$destination]} )) \
|| ( || (
[ -n "${destinationmaxbps[$destination]}" ] \ [ -n "${destinationmaxbps[$destination]}" ] \
|| (( && ((
${bitrate:-1000} ${bitrate:-1000}
<= ${destinationmaxbps[$destination]:-0} <= ${destinationmaxbps[$destination]:-0}
)) ))