Browse Source

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>
tags/n1.1
Alexander Strasser 13 years ago
parent
commit
7750c48d30
3 changed files with 1 additions and 2 deletions
  1. +1
    -0
      libavdevice/dshow_capture.h
  2. +0
    -1
      libavdevice/dshow_filter.c
  3. +0
    -1
      libavdevice/dshow_pin.c

+ 1
- 0
libavdevice/dshow_capture.h View File

@@ -28,6 +28,7 @@

#define COBJMACROS
#include <windows.h>
#define NO_DSHOW_STRSAFE
#include <dshow.h>
#include <dvdmedia.h>



+ 0
- 1
libavdevice/dshow_filter.c 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,


+ 0
- 1
libavdevice/dshow_pin.c 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>


Loading…
Cancel
Save