aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/dcc/DccVoiceCodec.cpp
diff options
context:
space:
mode:
authorGravatar wodim2019-04-01 15:01:02 +0200
committerGravatar GitHub2019-04-01 15:01:02 +0200
commit1e89e2da2e3740e55642c8ce44c573cd4bbe6ea9 (patch)
tree94cfdd5000b6b0d6af1272e89f8b234fd8c484d4 /src/modules/dcc/DccVoiceCodec.cpp
parentAdd support for Python 3 (diff)
parentuintUserListMinimumWidth: Reduce minimum due to account for certain combinati... (diff)
downloadKVIrc-1e89e2da2e3740e55642c8ce44c573cd4bbe6ea9.tar.gz
KVIrc-1e89e2da2e3740e55642c8ce44c573cd4bbe6ea9.tar.bz2
KVIrc-1e89e2da2e3740e55642c8ce44c573cd4bbe6ea9.zip
Merge branch 'master' into python3
Diffstat (limited to 'src/modules/dcc/DccVoiceCodec.cpp')
-rw-r--r--src/modules/dcc/DccVoiceCodec.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/modules/dcc/DccVoiceCodec.cpp b/src/modules/dcc/DccVoiceCodec.cpp
index 8f52060a2..5e70d176c 100644
--- a/src/modules/dcc/DccVoiceCodec.cpp
+++ b/src/modules/dcc/DccVoiceCodec.cpp
@@ -29,8 +29,7 @@
#include <QBuffer>
DccVoiceCodec::DccVoiceCodec()
-{
-}
+ = default;
DccVoiceCodec::~DccVoiceCodec()
= default;
@@ -95,8 +94,7 @@ int DccVoiceNullCodec::decodedFrameSize()
}
DccVideoCodec::DccVideoCodec()
-{
-}
+ = default;
DccVideoCodec::~DccVideoCodec()
= default;
@@ -265,19 +263,19 @@ DccVideoTheoraCodec::DccVideoTheoraCodec()
: DccVideoCodec()
{
m_szName = "theora";
- m_pEncoder = 0;
- m_pDecoder = 0;
+ m_pEncoder = nullptr;
+ m_pDecoder = nullptr;
}
DccVideoTheoraCodec::~DccVideoTheoraCodec()
{
if(m_pEncoder)
delete m_pEncoder;
- m_pEncoder = 0;
+ m_pEncoder = nullptr;
if(m_pDecoder)
delete m_pDecoder;
- m_pDecoder = 0;
+ m_pDecoder = nullptr;
}
void DccVideoTheoraCodec::encodeVideo(KviDataBuffer * videoSignal, KviDataBuffer * stream)