Add Atmos read/write and untested MXF decryption tool.
[libdcp.git] / run / tools / dcpdecryptmxf
diff --git a/run/tools/dcpdecryptmxf b/run/tools/dcpdecryptmxf
new file mode 100755 (executable)
index 0000000..9caf546
--- /dev/null
@@ -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