mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-29 06:15:24 +00:00
avoid bogus compiler warning about alleged invalid memory access
This commit is contained in:
parent
63f1794a65
commit
689bdfc02d
@ -40,7 +40,7 @@ track_statistics_c::create_tags(libmatroska::KaxTags &tags,
|
|||||||
|
|
||||||
if (!m_source_id.empty()) {
|
if (!m_source_id.empty()) {
|
||||||
mtx::tags::set_simple(*tag, "SOURCE_ID", m_source_id);
|
mtx::tags::set_simple(*tag, "SOURCE_ID", m_source_id);
|
||||||
names.emplace_back("SOURCE_ID");
|
names.emplace_back("SOURCE_ID"s);
|
||||||
}
|
}
|
||||||
|
|
||||||
mtx::tags::set_simple(*tag, "_STATISTICS_WRITING_APP", writing_app);
|
mtx::tags::set_simple(*tag, "_STATISTICS_WRITING_APP", writing_app);
|
||||||
|
Loading…
Reference in New Issue
Block a user