Fix bashism: Use '$(( ))' syntax instead of '(( ))' for arithmetic expressions.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29669 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2009-09-10 18:29:34 +00:00
parent 86ff541253
commit 37677802e5
1 changed files with 2 additions and 2 deletions

View File

@ -345,8 +345,8 @@ fi
[ $mp3 -eq 1 -a $abrset -eq 0 ] && abr=128
# audio sample rate in kHz
((a=$asr / 1000))
((b=$asr % 1000))
a=$(($a=$asr / 1000))
b=$(($b=$asr % 1000))
[ $b -le 9 ] && b="00$b00"
[ $b -le 99 ] && b="0$b00"
kasr="$a.$b"