summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2013-09-12 21:13:26 +0200
committerJonas Smedegaard <dr@jones.dk>2013-09-12 21:13:26 +0200
commitb041f729e8c322024f131e9297b43429e776ed11 (patch)
treeee08c266c1c3de070094b595020eb458ec2ce122
parentfe8addcae8a316ef9a1ac3eab6d4ae1ff6a2e858 (diff)
Fix bashism.
-rwxr-xr-xlocalv4ldump4
1 files changed, 2 insertions, 2 deletions
diff --git a/localv4ldump b/localv4ldump
index f71cfcd..0c9a214 100755
--- a/localv4ldump
+++ b/localv4ldump
@@ -91,7 +91,7 @@ for input in $ainputs; do
esac
ainargs="${ainargs:+$ainargs }-f alsa -ar 44100 ${achannels:+-ac $achannels} -i hw:$input"
amaps="${amaps:+$amaps }-map $i:a"
- ((i=i+1))
+ $((i=i+1))
done
vinargs=
vmaps=
@@ -110,7 +110,7 @@ FORMATS
[ -n "$format" ] || { echo "Skipping unsuitable input $input"; continue; }
vinargs="${vinargs:+$vinargs }-f video4linux2 -input_format $format ${inrate:+-framerate $inrate }-s $size -i $input"
vmaps="${vmaps:+$vmaps }-map $i:v:0"
- ((i=i+1))
+ $((i=i+1))
done
voutargs=${vinputs:+-c:v $vcodec $vf ${outrate:+-r $outrate}}
aoutargs=${ainputs:+-c:a $acodec}