Skip to content

Commit

Permalink
dshow_filter: fix compilation with mingw-w64
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
funman authored and michaelni committed Feb 16, 2012
1 parent 22b125f commit 05ee0db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions libavdevice/dshow_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions libavdevice/dshow_pin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 05ee0db

Please sign in to comment.