#999: error: 'wcscpy_instead_use_StringCbCopyW_or_StringCchCopyW' undeclared (first use in this function) -----------------------------------+------------------------------------ Reporter: KSHawkEye | Owner: Type: defect | Status: new Priority: critical | Component: avdevice Version: 0.10 | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -----------------------------------+------------------------------------
Comment (by funman): {{{ From 91e66b9e710d164703c30d5752a3e7ee0e556a3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= <fun...@videolan.org> Date: Thu, 16 Feb 2012 17:15:59 -0500 Subject: [PATCH] dshow_filter: fix compilation with mingw-w64 Closes ticket #999 NO_DSHOW_STRSAFE asks dshow.h header to not use secure string function replacements. Using secure replacements would break mingw.org compatibility as they don't declare/define those functions. --- libavdevice/dshow_filter.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/libavdevice/dshow_filter.c b/libavdevice/dshow_filter.c index 64e8306..526e8b6 100644 --- a/libavdevice/dshow_filter.c +++ b/libavdevice/dshow_filter.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#define NO_DSHOW_STRSAFE #include "dshow.h" DECLARE_QUERYINTERFACE(libAVFilter, -- 1.7.9 }}} -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/999#comment:4> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac