aboutsummaryrefslogtreecommitdiffstats
path: root/examples/alffplay.cpp
diff options
context:
space:
mode:
authorFilip Gawin <[email protected]>2019-01-07 12:37:13 +0100
committerFilip Gawin <[email protected]>2019-01-07 12:37:13 +0100
commit0537414bafe80e5e32486672ddce82581fb5e1c3 (patch)
treec24a0957f54fb11b85bc2ba76e301cbfa2c3ebf3 /examples/alffplay.cpp
parentfababe76c4f0482fb2527ef931b84681dd133ca6 (diff)
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;