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.