cellRec: move data instead of memcpy

This commit is contained in:
Megamouse 2022-12-10 02:56:27 +01:00
parent 85c0a2e602
commit 064ab58f3c
2 changed files with 9 additions and 23 deletions

View file

@ -36,6 +36,7 @@ namespace utils
: timestamp_ms(timestamp_ms), width(width), height(height), av_pixel_format(av_pixel_format), data(std::move(data))
{}
s64 pts = -1; // Optional
usz timestamp_ms = 0;
u32 width = 0;
u32 height = 0;