summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
Diffstat (limited to 'TOOLS')
-rwxr-xr-xTOOLS/mencvcd.sh6
-rwxr-xr-xTOOLS/mplmult.sh4
2 files changed, 5 insertions, 5 deletions
diff --git a/TOOLS/mencvcd.sh b/TOOLS/mencvcd.sh
index c03f3486a6..6e2650f85a 100755
--- a/TOOLS/mencvcd.sh
+++ b/TOOLS/mencvcd.sh
@@ -4,7 +4,7 @@
#
# Licence: GPL
#
-# 2002/09/21 Jürgen Hammelmann <juergen.hammelmann@gmx.de>
+# 2002/09/21 Jürgen Hammelmann <juergen.hammelmann@gmx.de>
#
# Script: MPlayer Sources (DVD) to (S)VCD ripping and burning
#
@@ -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"
diff --git a/TOOLS/mplmult.sh b/TOOLS/mplmult.sh
index e0d262f23e..8621c010c0 100755
--- a/TOOLS/mplmult.sh
+++ b/TOOLS/mplmult.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# example how to output video on multiple windows in sync.
# might be even more useful in combination with vo ggi
# to distribute the video arbitrarily
@@ -29,7 +29,7 @@ i=1
fifo_list=""
while test $i -le $count; do
fifo_list="$dir/mp$i $fifo_list"
- let i=$i+1
+ i=$(($i+1))
done
mkfifo $fifo_list