summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Finegan <tomfinegan@google.com>2014-08-15 14:21:25 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2014-08-15 14:21:25 -0700
commit45d12e0bd3ce067398f112041ac61d0bfe99b429 (patch)
tree12ba4db23b1ecc1b6e2ff959d9175434ee7addfe
parent6a1c052f3fe60f76ee8e15343ff23fbd4be3c1e2 (diff)
parentb77ef13d89a1e11d9b9f23d59a33b01c24c30d4e (diff)
downloadlibvpx-45d12e0bd3ce067398f112041ac61d0bfe99b429.tar
libvpx-45d12e0bd3ce067398f112041ac61d0bfe99b429.tar.gz
libvpx-45d12e0bd3ce067398f112041ac61d0bfe99b429.tar.bz2
libvpx-45d12e0bd3ce067398f112041ac61d0bfe99b429.zip
Merge "vpxdec.sh: Fix some style nits."
-rwxr-xr-xtest/vpxdec.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/vpxdec.sh b/test/vpxdec.sh
index a7bee7c6a..f92acbd66 100755
--- a/test/vpxdec.sh
+++ b/test/vpxdec.sh
@@ -31,8 +31,8 @@ vpxdec_verify_environment() {
# 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 @@ vpxdec_pipe() {
# 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}
}