Browse Source

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>
tags/n0.11
Rafaël Carré Michael Niedermayer 13 years ago
parent
commit
05ee0db1b2
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      libavdevice/dshow_filter.c
  2. +1
    -0
      libavdevice/dshow_pin.c

+ 1
- 0
libavdevice/dshow_filter.c View File

@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */


#define NO_DSHOW_STRSAFE
#include "dshow.h" #include "dshow.h"


DECLARE_QUERYINTERFACE(libAVFilter, DECLARE_QUERYINTERFACE(libAVFilter,


+ 1
- 0
libavdevice/dshow_pin.c View File

@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */


#define NO_DSHOW_STRSAFE
#include "dshow.h" #include "dshow.h"


#include <stddef.h> #include <stddef.h>


Loading…
Cancel
Save