Skip to content

Commit

Permalink
Update soundsourceffmpeg.cpp
Browse files Browse the repository at this point in the history
This change solves the problem when special charactersare in the name of the directories containing stems.
In my case ' •'
See issue #13783.
  • Loading branch information
Eve00000 authored Oct 19, 2024
1 parent a716202 commit a3fe37a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sources/soundsourceffmpeg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ AVFormatContext* SoundSourceFFmpeg::openInputFile(
// Open input file and allocate/initialize AVFormatContext
const int avformat_open_input_result =
avformat_open_input(
&pavInputFormatContext, fileName.toLocal8Bit().constData(), nullptr, nullptr);
&pavInputFormatContext, fileName.toUtf8().constData(), nullptr, nullptr);
if (avformat_open_input_result != 0) {
DEBUG_ASSERT(avformat_open_input_result < 0);
kLogger.warning().noquote()
Expand Down

0 comments on commit a3fe37a

Please sign in to comment.