[FFmpeg-cvslog] dshow_filter: fix compilation with mingw-w64
Rafaël Carré
git at videolan.org
Thu Feb 16 23:30:16 CET 2012
ffmpeg | branch: master | Rafaël Carré <funman at videolan.org> | Thu Feb 16 17:15:59 2012 -0500| [05ee0db1b27d3c54c7513ae1756b91938ff2f9a6] | committer: Michael Niedermayer
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.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=05ee0db1b27d3c54c7513ae1756b91938ff2f9a6
---
libavdevice/dshow_filter.c | 1 +
libavdevice/dshow_pin.c | 1 +
2 files changed, 2 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,
diff --git a/libavdevice/dshow_pin.c b/libavdevice/dshow_pin.c
index 5e14108..d4463f6 100644
--- a/libavdevice/dshow_pin.c
+++ b/libavdevice/dshow_pin.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#define NO_DSHOW_STRSAFE
#include "dshow.h"
#include <stddef.h>
More information about the ffmpeg-cvslog
mailing list