mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-24 16:32:12 +00:00
fix: remove unnecessary cast
This commit is contained in:
parent
e2b75a572f
commit
1d6bf243eb
@ -629,7 +629,7 @@ pub fn fetch_video(
|
||||
|
||||
// Copy each row without padding
|
||||
for y in 0..rgb_frame.height() as usize {
|
||||
let start = y * rgb_frame.stride(0) as usize;
|
||||
let start = y * rgb_frame.stride(0);
|
||||
let end = start + row_size;
|
||||
frame_data.extend_from_slice(&src_data[start..end]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user