From 7eed125dbbcc5c97db0d922f5f10cd7598f40e19 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sat, 1 Oct 2022 19:01:03 +0200 Subject: avcodec/mpeg4audio: Move ff_copy_pce_data() to a header of its own It is only used by three of the thirty files that (potentially indirectly) include mpeg4audio.h. Twenty of these files won't have a put_bits.h inclusion any more after this patch. Reviewed-by: Michael Niedermayer Signed-off-by: Andreas Rheinhardt --- libavformat/adtsenc.c | 1 + libavformat/latmenc.c | 1 + 2 files changed, 2 insertions(+) (limited to 'libavformat') diff --git a/libavformat/adtsenc.c b/libavformat/adtsenc.c index 3924e678d9..5f2461cc6c 100644 --- a/libavformat/adtsenc.c +++ b/libavformat/adtsenc.c @@ -26,6 +26,7 @@ #include "libavcodec/codec_par.h" #include "libavcodec/packet.h" #include "libavcodec/mpeg4audio.h" +#include "libavcodec/mpeg4audio_copy_pce.h" #include "libavutil/opt.h" #include "avformat.h" #include "apetag.h" diff --git a/libavformat/latmenc.c b/libavformat/latmenc.c index 6553c28d9f..6fd36d1484 100644 --- a/libavformat/latmenc.c +++ b/libavformat/latmenc.c @@ -25,6 +25,7 @@ #include "libavcodec/codec_par.h" #include "libavcodec/packet.h" #include "libavcodec/mpeg4audio.h" +#include "libavcodec/mpeg4audio_copy_pce.h" #include "libavutil/opt.h" #include "avformat.h" #include "internal.h" -- cgit v1.2.3