From b917024aa1ac4cb0a40164132db3c6d2913157eb Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 3 Jan 2019 07:41:04 +0000 Subject: fixed build with -Werror=zero-as-null-pointer-constant git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8572 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/aac/decoder_aac.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/plugins/Input/aac/decoder_aac.cpp') diff --git a/src/plugins/Input/aac/decoder_aac.cpp b/src/plugins/Input/aac/decoder_aac.cpp index bd6708b6e..6a4c3740c 100644 --- a/src/plugins/Input/aac/decoder_aac.cpp +++ b/src/plugins/Input/aac/decoder_aac.cpp @@ -36,10 +36,10 @@ DecoderAAC::DecoderAAC(QIODevice *i) { m_bitrate = 0; m_totalTime = 0; - m_data = 0; - m_input_buf = 0; + m_data = nullptr; + m_input_buf = nullptr; m_input_at = 0; - m_sample_buf = 0; + m_sample_buf = nullptr; m_sample_buf_at = 0; m_sample_buf_size = 0; } @@ -52,11 +52,11 @@ DecoderAAC::~DecoderAAC() if (data()->handle) NeAACDecClose (data()->handle); delete data(); - m_data = 0; + m_data = nullptr; } if (m_input_buf) delete [] m_input_buf; - m_input_buf = 0; + m_input_buf = nullptr; m_bitrate = 0; } -- cgit v1.2.3-13-gbd6f