Commit 7750c48d authored by Alexander Strasser's avatar Alexander Strasser

dshow: Use NO_DSHOW_STRSAFE for all dshow header inclusions

Move the NO_DSHOW_STRSAFE macro definition in front of the dshow.h
system header inclusion.

This excludes the usage of the STRSAFE functions consistently.

Further background on this can be found in the commit message of
revision 05ee0db1 where the #define was initially introduced.
Signed-off-by: 's avatarAlexander Strasser <eclipse7@gmx.net>
parent c2cbc80a
......@@ -28,6 +28,7 @@
#define COBJMACROS
#include <windows.h>
#define NO_DSHOW_STRSAFE
#include <dshow.h>
#include <dvdmedia.h>
......
......@@ -19,7 +19,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#define NO_DSHOW_STRSAFE
#include "dshow_capture.h"
DECLARE_QUERYINTERFACE(libAVFilter,
......
......@@ -19,7 +19,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#define NO_DSHOW_STRSAFE
#include "dshow_capture.h"
#include <stddef.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment