fix some warnings

This commit is contained in:
Megamouse 2023-02-21 23:28:43 +01:00
parent c20aa2ad5f
commit 38d612e5ba
3 changed files with 5 additions and 15 deletions

View file

@ -442,7 +442,7 @@ namespace utils
memcpy(&data[m_size], buffer, buffer_size);
}
const u32 timestamp_ms = stream->time_base.den ? (1000 * av.frame->best_effort_timestamp * stream->time_base.num) / stream->time_base.den : 0;
const s64 timestamp_ms = stream->time_base.den ? (1000 * av.frame->best_effort_timestamp * stream->time_base.num) / stream->time_base.den : 0;
timestamps_ms.push_back({m_size, timestamp_ms});
m_size += buffer_size;
}