[FFmpeg-devel] [PATCH] Message queue API

James Almer jamrial at gmail.com
Mon May 5 05:01:40 CEST 2014


On 04/05/14 5:09 PM, Clément Bœsch wrote:
> On Sun, May 04, 2014 at 04:59:22PM +0200, Nicolas George wrote:
>> +    if (!(rmq->fifo = av_fifo_alloc(elsize * nelem))) {
> 
> Note for later: we should add a av_fifo_alloc2(size_t nmemb, size_t size)
> 

av_fifo_alloc_array() would probably be a better name. It would be consistent with 
av_malloc_array().


More information about the ffmpeg-devel mailing list