vidtomem.c code is bugged. There is an allocation of
an array of pointers with malloc() later buffers are
allocated, and pointer are set to point each buffer.
later the buffer is deallocated. Thats the usual way
If i dont specify any parameter i get an error, that
does a "goto SHUTDOWN;" there the buffers are
deallocated. Problem is that the error occurs before
the buffers are allocated.
All this leads to an protected mode exception.