Skip to content

Commit

Permalink
Additional fix to fileinfo.xml generation
Browse files Browse the repository at this point in the history
in mytharchivehelper.

Commit 99a6e07 missed one item to cleanup this buffer
by removing '\0' characters.
This commit adds - hopefully - the last item to check.

Refs #609
  • Loading branch information
rcrdnalor committed Nov 22, 2022
1 parent dc56fd2 commit 427bc02
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -2147,7 +2147,7 @@ static int getFileInfo(const QString& inFile, const QString& outFile, int lenMet
#else
QStringList param = QString::fromStdString(buf).split(',', Qt::SkipEmptyParts);
#endif
QString codec = param[0].remove("Subtitle:", Qt::CaseInsensitive);
QString codec = param[0].remove("Subtitle:", Qt::CaseInsensitive).remove(QChar::Null);

QDomElement stream = doc.createElement("subtitle");
stream.setAttribute("streamindex", i);
Expand Down

0 comments on commit 427bc02

Please sign in to comment.