diff options
author | Rolf Eike Beer <eb@emlix.com> | 2019-07-16 08:38:30 +0200 |
---|---|---|
committer | Rolf Eike Beer <eb@emlix.com> | 2019-07-16 11:01:12 +0200 |
commit | 28bd5f54f5230f5a5002db28f2d3fec7cadc1540 (patch) | |
tree | 362ed866102dd47180544fe7c7fbd5ca380b6120 /src/plugins/directshow/camera/directshowcameraglobal.h | |
parent | 7d2040234d04568aa4658f4a39828c9305bc6571 (diff) |
DirectShow plugin: use nullptr instead of NULL
Change-Id: Ied89175c4b7f5df090deac174b1da1e8496ee533
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
Diffstat (limited to 'src/plugins/directshow/camera/directshowcameraglobal.h')
-rw-r--r-- | src/plugins/directshow/camera/directshowcameraglobal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/directshow/camera/directshowcameraglobal.h b/src/plugins/directshow/camera/directshowcameraglobal.h index 8df387b4a..917ae2dc7 100644 --- a/src/plugins/directshow/camera/directshowcameraglobal.h +++ b/src/plugins/directshow/camera/directshowcameraglobal.h @@ -65,7 +65,7 @@ extern const CLSID CLSID_VideoInputDeviceCategory; extern const CLSID CLSID_SampleGrabber; extern const CLSID CLSID_CaptureGraphBuilder2; -#define SAFE_RELEASE(x) { if(x) x->Release(); x = NULL; } +#define SAFE_RELEASE(x) { if (x) x->Release(); x = nullptr; } typedef struct IFileSinkFilter *LPFILESINKFILTER; typedef struct IAMCopyCaptureFileProgress *LPAMCOPYCAPTUREFILEPROGRESS; |