summaryrefslogtreecommitdiff
path: root/sys/qtwrapper/codecmapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/qtwrapper/codecmapping.h')
-rw-r--r--sys/qtwrapper/codecmapping.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/qtwrapper/codecmapping.h b/sys/qtwrapper/codecmapping.h
index 78600b69b..946906f4b 100644
--- a/sys/qtwrapper/codecmapping.h
+++ b/sys/qtwrapper/codecmapping.h
@@ -42,9 +42,15 @@
* Boston, MA 02111-1307, USA.
*/
-#include <QuickTime/Movies.h>
-#include <QuickTime/ImageCodec.h>
#include <gst/gst.h>
+#include "qtwrapper.h"
+
+#ifdef G_OS_WIN32
+#include <ImageCodec.h>
+#else
+#include <Quicktime/ImageCodec.h>
+#endif
+
/*
* fourcc_to_caps: