aboutsummaryrefslogtreecommitdiffstats
path: root/examples/alffplay.cpp
diff options
context:
space:
mode:
authorkcat <[email protected]>2019-01-07 04:36:50 -0800
committerGitHub <[email protected]>2019-01-07 04:36:50 -0800
commit2a7f27ca58f9897be06fe815a46ea76a01734a0b (patch)
treeca9aa7e99770f175209e50f1f88ed3e9b656c89b /examples/alffplay.cpp
parent4d047e2bc166e8155dd9714e53efda09def2b6ef (diff)
parent0537414bafe80e5e32486672ddce82581fb5e1c3 (diff)
Merge pull request #260 from ShFil119/impr/nullptr
Use nullptr in cpp files
Diffstat (limited to 'examples/alffplay.cpp')
-rw-r--r--examples/alffplay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/alffplay.cpp b/examples/alffplay.cpp
index 771e5ded..f9ced483 100644
--- a/examples/alffplay.cpp
+++ b/examples/alffplay.cpp
@@ -879,7 +879,7 @@ int AudioState::handler()
ALsizei buffer_len = std::chrono::duration_cast<std::chrono::duration<int>>(
mCodecCtx->sample_rate * AudioBufferTime).count() * mFrameSize;
- mSamples = NULL;
+ mSamples = nullptr;
mSamplesMax = 0;
mSamplesPos = 0;
mSamplesLen = 0;