[FFmpeg-devel] [PATCH 1/4] Remove unnecessary mem.h inclusions

Nicolas George george at nsup.org
Thu Feb 4 16:48:03 EET 2021


Anton Khirnov (12021-02-04):
> I don't think we have an official project policy on this, but I would
> be in favor of something like:
> 
>     All installed headers are only guaranteed to provide those
>     identifiers that are explicitly declared in them. Users must not
>     rely on an installed header #include'ing any other specific headers,
>     as those can change at any time.

That would probably be ok, but I would suggest to add:

... explicitly declared or used in them.

If a function argument is size_t or int64_t, then we can expect size_t
or int64_t to be defined.

Regards,

-- 
  Nicolas George


More information about the ffmpeg-devel mailing list