diff options
author | 2018-06-07 23:46:04 +0000 | |
---|---|---|
committer | 2018-06-07 23:46:04 +0000 | |
commit | a160f5a70ffba3715c8a92f4f469922d59635356 (patch) | |
tree | 627f17cbd47a952696913884b21d100cc15c855b /libs/gui/StreamSplitter.cpp | |
parent | 978e43d7a14f75a0d2d32517d906e173de48110b (diff) | |
parent | 9c804c47fc86a45ac517e9c91d3c986cb9d315dd (diff) |
Merge "Replace NULL/0 with nullptr"
Diffstat (limited to 'libs/gui/StreamSplitter.cpp')
-rw-r--r-- | libs/gui/StreamSplitter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/gui/StreamSplitter.cpp b/libs/gui/StreamSplitter.cpp index 52c906775e..2f8e104ea0 100644 --- a/libs/gui/StreamSplitter.cpp +++ b/libs/gui/StreamSplitter.cpp @@ -38,11 +38,11 @@ namespace android { status_t StreamSplitter::createSplitter( const sp<IGraphicBufferConsumer>& inputQueue, sp<StreamSplitter>* outSplitter) { - if (inputQueue == NULL) { + if (inputQueue == nullptr) { ALOGE("createSplitter: inputQueue must not be NULL"); return BAD_VALUE; } - if (outSplitter == NULL) { + if (outSplitter == nullptr) { ALOGE("createSplitter: outSplitter must not be NULL"); return BAD_VALUE; } @@ -74,7 +74,7 @@ StreamSplitter::~StreamSplitter() { status_t StreamSplitter::addOutput( const sp<IGraphicBufferProducer>& outputQueue) { - if (outputQueue == NULL) { + if (outputQueue == nullptr) { ALOGE("addOutput: outputQueue must not be NULL"); return BAD_VALUE; } |