mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
d3d12_video_dec_hevc.cpp: Fix warning C4244: 'argument': conversion from 'uint64_t' to 'const unsigned int', possible loss of data
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
68ac1ed1c5
commit
fa6f1e05f0
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ d3d12_video_decoder_prepare_dxva_slices_control_hevc(struct d3d12_video_decoder
|
|||
debug_printf("[d3d12_video_decoder_hevc] Upper layer reported %d slices for this frame, parsing them below...\n",
|
||||
picture_hevc->slice_parameter.slice_count);
|
||||
|
||||
uint64_t TotalSlicesDXVAArrayByteSize = picture_hevc->slice_parameter.slice_count * sizeof(DXVA_Slice_HEVC_Short);
|
||||
size_t TotalSlicesDXVAArrayByteSize = picture_hevc->slice_parameter.slice_count * sizeof(DXVA_Slice_HEVC_Short);
|
||||
vecOutSliceControlBuffers.resize(TotalSlicesDXVAArrayByteSize);
|
||||
|
||||
uint8_t* pData = vecOutSliceControlBuffers.data();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue