Skip to content

Commit

Permalink
Merge pull request #839 from g-maxime/qcli
Browse files Browse the repository at this point in the history
QCli: Fix crash with mkv attachments
  • Loading branch information
dericed authored Sep 4, 2024
2 parents 6a30968 + 01802e1 commit 987faf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Core/FileInformation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,8 @@ FileInformation::FileInformation (SignalServer* signalServer, const QString &Fil
++AudioPos;
}

Stats.push_back(Stat);
if (Stat)
Stats.push_back(Stat);
}

streamsStats = new StreamsStats(orderedStreams, FormatContext);
Expand Down

0 comments on commit 987faf1

Please # to comment.