mirror of https://github.com/FFmpeg/FFmpeg.git
The API currently allows creating FIFOs up to - UINT_MAX: av_fifo_alloc(), av_fifo_realloc(), av_fifo_grow() - SIZE_MAX: av_fifo_alloc_array() However the usable limit is determined by - rndx/wndx being uint32_t - av_fifo_[size,space] returning int so no FIFO should be larger than the smallest of - INT_MAX - UINT32_MAX - SIZE_MAX (which should be INT_MAX an all commonly used platforms). Return an error on trying to allocate FIFOs larger than this limit.release/5.1
parent
2d71f93c7c
commit
5939c8d361
1 changed files with 13 additions and 1 deletions
Loading…
Reference in new issue