diff options
author | Rafaël Carré <funman@videolan.org> | 2012-02-16 17:15:59 -0500 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-02-16 23:25:59 +0100 |
commit | 05ee0db1b27d3c54c7513ae1756b91938ff2f9a6 (patch) | |
tree | 99426d193b2ce99a1e44d7356a18770874164bed /libavdevice | |
parent | 22b125f91285b8b46932890eb9be52496fd88de1 (diff) | |
download | ffmpeg-05ee0db1b27d3c54c7513ae1756b91938ff2f9a6.tar.gz |
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')
-rw-r--r-- | libavdevice/dshow_filter.c | 1 | ||||
-rw-r--r-- | libavdevice/dshow_pin.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libavdevice/dshow_filter.c b/libavdevice/dshow_filter.c index 64e8306536..526e8b6e68 100644 --- a/libavdevice/dshow_filter.c +++ b/libavdevice/dshow_filter.c @@ -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, 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> |