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: Alexander Strasser <eclipse7@gmx.net>
This commit is contained in:
Alexander Strasser 2012-11-03 17:05:51 +01:00
parent c2cbc80ae9
commit 7750c48d30
3 changed files with 1 additions and 2 deletions

View File

@ -28,6 +28,7 @@
#define COBJMACROS
#include <windows.h>
#define NO_DSHOW_STRSAFE
#include <dshow.h>
#include <dvdmedia.h>

View File

@ -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,

View File

@ -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>