Commit 05ee0db1 authored by Rafaël Carré's avatar Rafaël Carré Committed by 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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 22b125f9
......@@ -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,
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment