Skip to content

Commit

Permalink
Merge pull request #13784 from Eve00000/patch-1
Browse files Browse the repository at this point in the history
Solves problem with special characters in path to stems
  • Loading branch information
JoergAtGithub authored Dec 19, 2024
2 parents 4440d2f + a3fe37a commit 60c96b3
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 60c96b3

Please sign in to comment.