fail if the prealloc size exceeds INT_MAX
The samples in #10 (frame size 11515x15886 RGB) exceeds this limit which results in a very large allocation due to size_t to int to size_t conversion. Fixes #10.
Edited by Janne Grunau
The samples in #10 (frame size 11515x15886 RGB) exceeds this limit which results in a very large allocation due to size_t to int to size_t conversion. Fixes #10.
VideoLAN code repository instance