[FFmpeg-devel] [PATCH] Using size_t* instead of int** for dynarrays and add support for large boxes

Niklesh Lalwani lalwani1994 at gmail.com
Mon Apr 27 14:01:59 CEST 2015

> On Mon, Apr 27, 2015 at 12:47 PM, Carl Eugen Hoyos <cehoyos at ag.or.at>
>>> wrote:
>>> Please do not merge patches, instead send two
>> patches: One that adds support for large boxes
>> and a second one. The second one has to apply
>> cleanly after the first was applied.
>>> Carl Eugen

No problem. I can post them as separate patches.
As you mentioned, yes av_dynarray_add() looks tricky. Earlier I was
implementing dynarray with int ** which you can see in the patch. To use
size_t* in place to int** I had to reinterpret-cast an int to a pointer. As
someone else suggested, av_dynarray2_add() can be a better option.

Niklesh Lalwani
Third Year Undergraduate
Electrical Engineering
IIT Bombay

More information about the ffmpeg-devel mailing list