From 985c330f64f8127a0c04e43efe7aa3371f12e256 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 18 May 2017 09:59:39 +0200 Subject: Fix include function echo_n. --- bin/loop+encode+stream | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin/loop+encode+stream') diff --git a/bin/loop+encode+stream b/bin/loop+encode+stream index 5893ed3..ca0b6b9 100755 --- a/bin/loop+encode+stream +++ b/bin/loop+encode+stream @@ -55,6 +55,11 @@ elif [ $BITS -le 921600 ]; then # 720p → 921600 SPEED_VP8=15 fi +# shellcheck disable=SC2048,SC2059 +echo_n() { + printf -- "$*" +} + encode_opus() { echo_n "-codec:a libopus -ac $ACHANNELS -ar $AFRAMERATE_OPUS -b:a $ABITRATE_OPUS" } -- cgit v1.2.3