[FFmpeg-devel] [PATCH 1/4] lavu: add simple array implementation
wm4
nfxjfg at googlemail.com
Mon Mar 3 13:27:47 CET 2014
On Mon, 3 Mar 2014 13:19:08 +0100
Nicolas George <george at nsup.org> wrote:
> Le tridi 13 ventôse, an CCXXII, Michael Niedermayer a écrit :
> > maybe it could be solved with something like
> > int av_dynarray_add_nofree(...)
> >
> > which would not free the array on failure but return an error code
> > and leave deallocation (if needed) to the caller
>
> I would suggest a macro that takes two statements as arguments: one
> statement for success, one statement for failure.
More GET_UTF8() style APIs? Please no...
More information about the ffmpeg-devel
mailing list