mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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:
parent
c2cbc80ae9
commit
7750c48d30
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user