From 214d72306bdfdd617c3e6a7cfeb5c5d76d7f5e72 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 27 Sep 2016 12:30:04 +0100 Subject: Add Atmos read/write and untested MXF decryption tool. --- run/tools/dcpdecryptmxf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 run/tools/dcpdecryptmxf (limited to 'run') 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 -- cgit v1.2.3