[FFmpeg-devel] [PATCH 3/3] FATE/bprint: Convert a VLA to a normal array

Derek Buitenhuis derek.buitenhuis at gmail.com
Tue Sep 11 23:24:02 CEST 2012


On 11/09/2012 4:55 PM, Nicolas George wrote:
> It would probably be slightly simpler to just write:
> 
> unsigned p[42];
> av_assert0(size < FF_ARRAY_ELEMS(p));
> 
> It is a test program, after all, arbitrary limitations in computing the
> Pascal triangle are not really an issue (and that was also the reason I used
> a VLA in the first place).

New patch sent.

- Derek


More information about the ffmpeg-devel mailing list