[FFmpeg-devel] [PATCH 07/19] avutil/log: Don't include avutil.h

Martin Storsjö martin at martin.st
Wed Feb 23 16:47:56 EET 2022


On Tue, 15 Feb 2022, Andreas Rheinhardt wrote:

> It has been included since af5f434f8c0fb3b4ee3b206ebc1946ca660a8abe
> for deprecation reasons, but removing it has been forgotten after
> it had served is purpose. So remove it.
>
> For convenience, include version.h instead as LIBAVUTIL_VERSION_INT
> is supposed to be used when creating AVClasses.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
> libavcodec/ffjni.c         | 1 +
> libavcodec/libopenh264.c   | 1 +
> libavformat/avc.h          | 1 +
> libavformat/data_uri.c     | 1 +
> libavformat/ip.c           | 2 ++
> libavutil/cuda_check.h     | 1 +
> libavutil/log.h            | 2 +-
> libavutil/tests/camellia.c | 4 ++++
> libavutil/tests/cast5.c    | 4 ++++
> libavutil/tests/twofish.c  | 2 ++
> libavutil/thread.h         | 4 ++++
> libavutil/timecode.c       | 1 +
> libavutil/timer.h          | 1 +
> tools/ffescape.c           | 6 ++++++
> 14 files changed, 30 insertions(+), 1 deletion(-)

LGTM

// Martin



More information about the ffmpeg-devel mailing list