Commit 99252d09 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

flac: Work on files with non latin1 characters

BUGS: 452594
parent f5e66246
Pipeline #166230 skipped
......@@ -466,7 +466,7 @@ bool K3bFLACDecoderFactory::canDecode( const QUrl& url )
}
FLAC::Metadata::StreamInfo info = FLAC::Metadata::StreamInfo();
if (!FLAC::Metadata::get_streaminfo(url.toLocalFile().toLatin1(), info)) {
if (!FLAC::Metadata::get_streaminfo(url.toLocalFile().toLocal8Bit(), info)) {
qDebug() << "(K3bFLACDecoder) " << url.toLocalFile() << ": get_streaminfo failed";
return false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment