summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ff83b5b2d7..5b5b66ed38 100644
--- a/src/sources/soundsourceffmpeg.cpp
+++ b/src/sources/soundsourceffmpeg.cpp
@@ -353,8 +353,8 @@ QStringList SoundSourceProviderFFmpeg::getSupportedFileExtensions() const {
while ((pavInputFormat = av_iformat_next(pavInputFormat))) {
#else
const AVInputFormat* pavInputFormat = nullptr;
- void* iInputFormat = nullptr;
- while ((pavInputFormat = av_demuxer_iterate(&iInputFormat))) {
+ void* pOpaqueInputFormatIterator = nullptr;
+ while ((pavInputFormat = av_demuxer_iterate(&pOpaqueInputFormatIterator))) {
#endif
if (pavInputFormat->flags | AVFMT_SEEK_TO_PTS) {
///////////////////////////////////////////////////////////