Remove unnecessary include; add makedcp-osx.
authorCarl Hetherington <cth@carlh.net>
Wed, 29 May 2013 15:06:58 +0000 (16:06 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 29 May 2013 15:06:58 +0000 (16:06 +0100)
run/makedcp-osx [new file with mode: 0755]
src/lib/ffmpeg_decoder.cc

diff --git a/run/makedcp-osx b/run/makedcp-osx
new file mode 100755 (executable)
index 0000000..1b95ecc
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:build/src/lib:build/src:/Users/carl/Environments/osx/10.8/lib
+if [ "$1" == "--debug" ]; then
+    shift
+    gdb --args build/src/tools/makedcp "$@"
+elif [ "$1" == "--memcheck" ]; then
+    shift
+    valgrind --tool="memcheck" --leak-check=full --show-reachable=yes build/src/tools/makedcp "$@"
+elif [ "$1" == "--massif" ]; then
+    shift
+    valgrind --tool="massif" build/src/tools/makedcp "$@"
+else
+    build/src/tools/makedcp "$@"
+fi
index 982139515b0af588eeb9c8180e5accd74cef444f..bcfbea4316df8999af3d7b31440aa2ffcaf48047 100644 (file)
@@ -29,7 +29,6 @@
 #include <stdint.h>
 #include <boost/lexical_cast.hpp>
 extern "C" {
-#include <tiffio.h>
 #include <libavcodec/avcodec.h>
 #include <libavformat/avformat.h>
 #include <libswscale/swscale.h>