ref: b77ef13d89a1e11d9b9f23d59a33b01c24c30d4e
parent: 250fc1f6a211ed0943125d9b94cb9b3bcf813979
author: Tom Finegan <[email protected]>
date: Fri Aug 15 09:58:58 EDT 2014
vpxdec.sh: Fix some style nits. Change-Id: I960c26dcb0db230e50f923d00f64ded1a39bf783
--- a/test/vpxdec.sh
+++ b/test/vpxdec.sh
@@ -31,8 +31,8 @@
# input file path and shifted away. All remaining parameters are passed through
# to vpxdec.
vpxdec_pipe() {
- local decoder="$(vpx_tool_path vpxdec)"
- local input="$1"
+ local readonly decoder="$(vpx_tool_path vpxdec)"
+ local readonly input="$1"
shift
cat "${input}" | eval "${VPX_TEST_PREFIX}" "${decoder}" - "$@" ${devnull}
}
@@ -41,8 +41,8 @@
# the directory containing vpxdec. $1 one is used as the input file path and
# shifted away. All remaining parameters are passed through to vpxdec.
vpxdec() {
- local decoder="$(vpx_tool_path vpxdec)"
- local input="${1}"
+ local readonly decoder="$(vpx_tool_path vpxdec)"
+ local readonly input="$1"
shift
eval "${VPX_TEST_PREFIX}" "${decoder}" "$input" "$@" ${devnull}
}