[FFmpeg-devel] [PATCH] avcodec: improve the function of FF_ALLOC{Z}{_ARRAY}_OR_GOTO

Nicolas George george at nsup.org
Tue May 12 21:09:21 EEST 2020


Marton Balint (12020-05-12):
> I think you want to force your preferred pattern to cases which clearly do
> not benefit from it.

I want to prevent any pattern where the error code is lost or invented.
We already had enough work old cases where we were not careful enough
with it, I oppose to anything that could give us more similar work.

If you do not like my proposal, feel free to make counter-proposals, but
if they pose the risk of losing the error code or let the caller invent
it, I will oppose them.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200512/9dd41243/attachment.sig>


More information about the ffmpeg-devel mailing list