diff options
author | Rafaël Carré <funman@videolan.org> | 2012-02-17 02:15:59 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-02-17 02:25:59 +0400 |
commit | 05ee0db1b27d3c54c7513ae1756b91938ff2f9a6 (patch) | |
tree | 99426d193b2ce99a1e44d7356a18770874164bed /libavdevice/dshow_pin.c | |
parent | 22b125f91285b8b46932890eb9be52496fd88de1 (diff) |
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>
Diffstat (limited to 'libavdevice/dshow_pin.c')
-rw-r--r-- | libavdevice/dshow_pin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavdevice/dshow_pin.c b/libavdevice/dshow_pin.c index 5e14108092..d4463f6c90 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> |