[FFmpeg-devel] [PATCH 1/3] lavu: add a template for refcounted objects.

Nicolas George george at nsup.org
Wed Jul 1 21:28:19 EEST 2020


James Almer (12020-07-01):
> I very much prefer this approach, being clean looking, public, and free
> of macros from unguarded headers

Please do not forget the major drawback:

This version makes the creation of the refcounted structure simpler, and
every single use more complex.

One creation, many uses. Please remember this, it is easy to forget.

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/20200701/41097a53/attachment.sig>


More information about the ffmpeg-devel mailing list