summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBe <be@mixxx.org>2021-04-04 23:01:48 -0500
committerGitHub <noreply@github.com>2021-04-04 23:01:48 -0500
commit90327c5958c3eebbcf6a7d3e70187d8c929aed0e (patch)
tree53d3bab4f0fffa73ac6b9a3d870630567a5d746e
parenta7ebf6e9ff09ead4e92fc7e5702b652f6f6e65c3 (diff)
parent9494fcb779d580a107e578f7f68e17b9e6bda025 (diff)
Merge pull request #3769 from Holzhaus/soundsourceffmpeg-clang-tidy
SoundSourceFFmpeg: Fix some clang-tidy warnings
-rw-r--r--src/sources/soundsourceffmpeg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sources/soundsourceffmpeg.cpp b/src/sources/soundsourceffmpeg.cpp
index 94582fd927..ff83b5b2d7 100644
--- a/src/sources/soundsourceffmpeg.cpp
+++ b/src/sources/soundsourceffmpeg.cpp
@@ -353,7 +353,7 @@ QStringList SoundSourceProviderFFmpeg::getSupportedFileExtensions() const {
while ((pavInputFormat = av_iformat_next(pavInputFormat))) {
#else
const AVInputFormat* pavInputFormat = nullptr;
- void* iInputFormat = 0;
+ void* iInputFormat = nullptr;
while ((pavInputFormat = av_demuxer_iterate(&iInputFormat))) {
#endif
if (pavInputFormat->flags | AVFMT_SEEK_TO_PTS) {
@@ -897,7 +897,7 @@ bool SoundSourceFFmpeg::consumeNextAVPacket(
}
*ppavNextPacket = pavPacket;
}
- auto pavNextPacket = *ppavNextPacket;
+ auto* pavNextPacket = *ppavNextPacket;
// Consume raw packet data
#if VERBOSE_DEBUG_LOG