[FFmpeg-devel] [PATCH] avutil/internal: add FF_ALLOC_ARRAY_OR_GOTO & FF_ALLOCZ_ARRAY_OR_GOTO
george at nsup.org
Mon Apr 21 12:21:14 CEST 2014
Le decadi 30 germinal, an CCXXII, Michael Niedermayer a écrit :
> I wanted to replace existing FF_ALLOC_OR_GOTO by this where
> appropriate, and for that it must use the same API as FF_ALLOC_OR_GOTO
> otherwise it wont mix well with unchanged surrounding FF_ALLOC_OR_GOTO
I had not realized there was already such a macro. And, I must say I am
surprised that most uses of it are both correct and natural.
(The exception is lsws/initFilter(), and it seems reasonably easy to get it
to return proper error codes.)
As I said, my comments were minor objections, and with this additional
information I really do not oppose at all.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-devel