16 Oct
2023
16 Oct
'23
10:02 p.m.
On Mon Oct 16 22:02:01 2023 +0000, Nikolay Sivov wrote:
I think it's better to allocate on heap, if it can get that large. It doesn't get bigger than `sizeof(VIDEOINFOHEADER) + 1024`, the maximum size is fix. Do we really need to put this on the heap? It wouldn't be the first time we have 2KB buffers on the stack.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4112#note_48889