mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
d3d12_video_encoder_bitstream_builder_h264: Fix warning C4244 for x86 builds assign uint64_t to size_t
Reviewed-By: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Jesse Natalie <None> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979>
This commit is contained in:
parent
8bfe3976d9
commit
0e478c3566
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ d3d12_video_bitstream_builder_h264::write_sei_messages(const std::vector<H264_SE
|
|||
std::vector<uint8_t>::iterator placingPositionStart,
|
||||
size_t & writtenBytes)
|
||||
{
|
||||
uint64_t byte_offset_placing_start = std::distance(headerBitstream.begin(), placingPositionStart);
|
||||
size_t byte_offset_placing_start = std::distance(headerBitstream.begin(), placingPositionStart);
|
||||
writtenBytes = 0;
|
||||
|
||||
for (auto& message : sei_messages)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue