From 955e18c64874203b6f7156835d7d8458b6fb54de Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Thu, 5 Apr 2018 20:25:28 +0200 Subject: COMMON: Use nullptr instead of NULL or 0 where appropriate --- common/quicktime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/quicktime.h') diff --git a/common/quicktime.h b/common/quicktime.h index 3f82fc0431..26fc44ac71 100644 --- a/common/quicktime.h +++ b/common/quicktime.h @@ -79,7 +79,7 @@ public: void setChunkBeginOffset(uint32 offset) { _beginOffset = offset; } /** Find out if this parser has an open file handle */ - bool isOpen() const { return _fd != 0; } + bool isOpen() const { return _fd != nullptr; } protected: // This is the file handle from which data is read from. It can be the actual file handle or a decompressed stream. -- cgit v1.2.3