diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-01 20:01:03 +0300 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-02 21:16:42 +0300 |
commit | 7eed125dbbcc5c97db0d922f5f10cd7598f40e19 (patch) | |
tree | 26fd92e3b095e9ac450deb459632edf3f64807bb /libavformat | |
parent | 5c94b6694ac74c057bc1c2f93d15d0c709da950b (diff) |
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 <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/adtsenc.c | 1 | ||||
-rw-r--r-- | libavformat/latmenc.c | 1 |
2 files changed, 2 insertions, 0 deletions
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" |