[FFmpeg-devel] [PATCH] avcodec/internal: Move AVCodecInternal to a header of its own
Anton Khirnov
anton at khirnov.net
Tue Jul 11 13:13:16 EEST 2023
Quoting Andreas Rheinhardt (2023-07-11 03:10:38)
> This allows to avoid exposing AVCodecInternal to files that
> don't need it and only include internal.h for something else
> (like the avpriv functions which are of course included outside
> of libavcodec where AVCodecInternal should never be visible).
Actually looking at all those other things in internal.h it seems to me
that (almost?) all of them belong somewhere else.
Multiple functions are only used in one place, some others are
encoding-only and belong in encode.h, etc.
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list