diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2021-04-04 23:45:06 +0200 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2021-04-04 23:45:06 +0200 |
commit | 9494fcb779d580a107e578f7f68e17b9e6bda025 (patch) | |
tree | 3efee4d9e8560852d3ae3c340d7eff501d588788 /src/sources | |
parent | 3302d95d11e530b2ad1da778e17bfeeba38e3e46 (diff) |
SoundSourceFFmpeg: Fix some clang-tidy warnings
Diffstat (limited to 'src/sources')
-rw-r--r-- | src/sources/soundsourceffmpeg.cpp | 4 |
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 |