From c79aba9e1ec22cbae108cb8c6cda563c883e62e3 Mon Sep 17 00:00:00 2001 From: David Hoyt Date: Wed, 1 Dec 2010 10:45:49 +0100 Subject: [PATCH] qtmux: handle msvc ftruncate incompatibility Fixes #636185. --- gst/qtmux/gstqtmux.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gst/qtmux/gstqtmux.c b/gst/qtmux/gstqtmux.c index f2ad775..75594f6 100644 --- a/gst/qtmux/gstqtmux.c +++ b/gst/qtmux/gstqtmux.c @@ -84,6 +84,10 @@ #define off_t guint64 #endif +#ifdef _MSC_VER +#define ftruncate g_win32_ftruncate +#endif + #ifdef HAVE_UNISTD_H # include #endif -- 2.7.4