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@gmx.at>
This commit is contained in:
Rafaël Carré 2012-02-16 17:15:59 -05:00 committed by Michael Niedermayer
parent 22b125f912
commit 05ee0db1b2
2 changed files with 2 additions and 0 deletions

View File

@ -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,

View File

@ -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>