summaryrefslogtreecommitdiffstats
path: root/mt-work/valgrind-check.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mt-work/valgrind-check.sh')
-rw-r--r--mt-work/valgrind-check.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/mt-work/valgrind-check.sh b/mt-work/valgrind-check.sh
new file mode 100644
index 0000000..276327a
--- /dev/null
+++ b/mt-work/valgrind-check.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+valgrind --track-origins=yes --leak-check=full ./ffmpeg_g -threads 1 -vsync 0 -y -t 30 -i "$1" -an -f null /dev/null
+
+valgrind --track-origins=yes --leak-check=full ./ffmpeg_g -threads 3 -vsync 0 -y -t 30 -i "$1" -an -f null /dev/null
OpenPOWER on IntegriCloud