diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-09-28 19:15:03 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-09-28 19:15:03 +0100 |
| commit | eb772d227c378e17c99b5d609b81d0cc4b664d2c (patch) | |
| tree | ccc3b4c75316d76fd441767e29ed1e0d8d3908a6 /run | |
| parent | fba372ef15a9dd9c6f840e5c03bdb85146657955 (diff) | |
| parent | 5aba207171b7f1da91968bf2197c5668e8aacb4e (diff) | |
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Diffstat (limited to 'run')
| -rwxr-xr-x | run/tools/dcpdecryptmxf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/run/tools/dcpdecryptmxf b/run/tools/dcpdecryptmxf new file mode 100755 index 00000000..9caf5460 --- /dev/null +++ b/run/tools/dcpdecryptmxf @@ -0,0 +1,12 @@ +#!/bin/bash + +export LD_LIBRARY_PATH=build/src:build/asdcplib/src:$LD_LIBRARY_PATH +if [ "$1" == "--debug" ]; then + shift + gdb --args build/tools/dcpdecryptmxf "$@" +elif [ "$1" == "--valgrind" ]; then + shift + valgrind --tool="memcheck" --leak-check=full --show-reachable=yes build/tools/dcpdecryptmxf "$@" +else + build/tools/dcpdecryptmxf "$@" +fi |
