diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-06-11 23:35:33 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-07-22 11:14:16 +0200 |
commit | 57b5ec6ba7df442caebc401c4a7ef3ebc066b519 (patch) | |
tree | 757809e3b0a53f3deb95634fcfda70bb7fb3168c | |
parent | 73b847e136481f643a855d4504a5fa66b47db48c (diff) | |
download | ffmpeg-57b5ec6ba7df442caebc401c4a7ef3ebc066b519.tar.gz |
avcodec/avcodec: Stop including bsf.h in avcodec.h
Also include bsf.h directly wherever it is used.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | fftools/cmdutils.c | 1 | ||||
-rw-r--r-- | fftools/ffmpeg.h | 1 | ||||
-rw-r--r-- | fftools/ffmpeg_opt.c | 1 | ||||
-rw-r--r-- | libavcodec/avcodec.c | 1 | ||||
-rw-r--r-- | libavcodec/avcodec.h | 1 | ||||
-rw-r--r-- | libavcodec/bitstream_filters.c | 6 | ||||
-rw-r--r-- | libavcodec/cbs_bsf.c | 1 | ||||
-rw-r--r-- | libavcodec/decode.c | 1 | ||||
-rw-r--r-- | libavcodec/internal.h | 1 | ||||
-rw-r--r-- | libavcodec/libaomenc.c | 1 | ||||
-rw-r--r-- | libavcodec/librav1e.c | 1 | ||||
-rw-r--r-- | libavcodec/opus_metadata_bsf.c | 1 | ||||
-rw-r--r-- | libavcodec/pcm_rechunk_bsf.c | 1 | ||||
-rw-r--r-- | libavformat/av1dec.c | 1 | ||||
-rw-r--r-- | libavformat/concatdec.c | 1 | ||||
-rw-r--r-- | libavformat/internal.h | 1 | ||||
-rw-r--r-- | libavformat/mux.c | 1 | ||||
-rw-r--r-- | libavformat/tee.c | 1 | ||||
-rw-r--r-- | libavformat/utils.c | 1 | ||||
-rw-r--r-- | tools/target_bsf_fuzzer.c | 1 |
20 files changed, 21 insertions, 4 deletions
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index 18bcfb065a..3ded61cc7c 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -53,6 +53,7 @@ #include "libavutil/cpu.h" #include "libavutil/ffversion.h" #include "libavutil/version.h" +#include "libavcodec/bsf.h" #include "cmdutils.h" #if HAVE_SYS_RESOURCE_H #include <sys/time.h> diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index 6308fb5aeb..d9c0628657 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -31,6 +31,7 @@ #include "libavformat/avio.h" #include "libavcodec/avcodec.h" +#include "libavcodec/bsf.h" #include "libavfilter/avfilter.h" diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index 9558bcaeb2..1b43bab9fc 100644 --- a/fftools/ffmpeg_opt.c +++ b/fftools/ffmpeg_opt.c @@ -27,6 +27,7 @@ #include "libavformat/avformat.h" #include "libavcodec/avcodec.h" +#include "libavcodec/bsf.h" #include "libavfilter/avfilter.h" diff --git a/libavcodec/avcodec.c b/libavcodec/avcodec.c index d369b30bbc..3b3a3ef05a 100644 --- a/libavcodec/avcodec.c +++ b/libavcodec/avcodec.c @@ -32,6 +32,7 @@ #include "libavutil/opt.h" #include "libavutil/thread.h" #include "avcodec.h" +#include "bsf.h" #include "decode.h" #include "encode.h" #include "frame_thread_encoder.h" diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 8b97895aeb..f9d8edc3e2 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -41,7 +41,6 @@ #include "libavutil/pixfmt.h" #include "libavutil/rational.h" -#include "bsf.h" #include "codec.h" #include "codec_desc.h" #include "codec_par.h" diff --git a/libavcodec/bitstream_filters.c b/libavcodec/bitstream_filters.c index e03326515b..d565286397 100644 --- a/libavcodec/bitstream_filters.c +++ b/libavcodec/bitstream_filters.c @@ -16,12 +16,12 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "config.h" +#include <stdint.h> +#include <string.h> -#include "libavutil/common.h" #include "libavutil/log.h" -#include "avcodec.h" +#include "bsf.h" #include "bsf_internal.h" extern const AVBitStreamFilter ff_aac_adtstoasc_bsf; diff --git a/libavcodec/cbs_bsf.c b/libavcodec/cbs_bsf.c index 0977d431f7..86ec3f2a4d 100644 --- a/libavcodec/cbs_bsf.c +++ b/libavcodec/cbs_bsf.c @@ -16,6 +16,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "bsf.h" #include "bsf_internal.h" #include "cbs_bsf.h" diff --git a/libavcodec/decode.c b/libavcodec/decode.c index 568710cf4a..7c367cdf70 100644 --- a/libavcodec/decode.c +++ b/libavcodec/decode.c @@ -40,6 +40,7 @@ #include "avcodec.h" #include "bytestream.h" +#include "bsf.h" #include "decode.h" #include "hwconfig.h" #include "internal.h" diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 586819cd1b..1921515bdd 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -32,6 +32,7 @@ #include "libavutil/mathematics.h" #include "libavutil/pixfmt.h" #include "avcodec.h" +#include "bsf.h" #include "config.h" /** diff --git a/libavcodec/libaomenc.c b/libavcodec/libaomenc.c index f977fb4889..742c96589c 100644 --- a/libavcodec/libaomenc.c +++ b/libavcodec/libaomenc.c @@ -36,6 +36,7 @@ #include "av1.h" #include "avcodec.h" +#include "bsf.h" #include "encode.h" #include "internal.h" #include "packet_internal.h" diff --git a/libavcodec/librav1e.c b/libavcodec/librav1e.c index 619a4d0b36..a368ee508f 100644 --- a/libavcodec/librav1e.c +++ b/libavcodec/librav1e.c @@ -30,6 +30,7 @@ #include "libavutil/opt.h" #include "libavutil/pixdesc.h" #include "avcodec.h" +#include "bsf.h" #include "encode.h" #include "internal.h" diff --git a/libavcodec/opus_metadata_bsf.c b/libavcodec/opus_metadata_bsf.c index 723e31c243..e73852d618 100644 --- a/libavcodec/opus_metadata_bsf.c +++ b/libavcodec/opus_metadata_bsf.c @@ -16,6 +16,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "bsf.h" #include "bsf_internal.h" #include "libavutil/intreadwrite.h" #include "libavutil/opt.h" diff --git a/libavcodec/pcm_rechunk_bsf.c b/libavcodec/pcm_rechunk_bsf.c index 47f44b6467..32a90cd2f7 100644 --- a/libavcodec/pcm_rechunk_bsf.c +++ b/libavcodec/pcm_rechunk_bsf.c @@ -19,6 +19,7 @@ */ #include "avcodec.h" +#include "bsf.h" #include "bsf_internal.h" #include "libavutil/avassert.h" #include "libavutil/opt.h" diff --git a/libavformat/av1dec.c b/libavformat/av1dec.c index 8a68deb272..f6c575069e 100644 --- a/libavformat/av1dec.c +++ b/libavformat/av1dec.c @@ -25,6 +25,7 @@ #include "libavutil/fifo.h" #include "libavutil/opt.h" #include "libavcodec/av1_parse.h" +#include "libavcodec/bsf.h" #include "avformat.h" #include "avio_internal.h" #include "internal.h" diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c index 96b4b96962..2e1b5115d3 100644 --- a/libavformat/concatdec.c +++ b/libavformat/concatdec.c @@ -25,6 +25,7 @@ #include "libavutil/opt.h" #include "libavutil/parseutils.h" #include "libavutil/timestamp.h" +#include "libavcodec/bsf.h" #include "avformat.h" #include "internal.h" #include "url.h" diff --git a/libavformat/internal.h b/libavformat/internal.h index 4b7ab082e7..bff948e9a3 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -26,6 +26,7 @@ #include "libavutil/bprint.h" #include "libavcodec/avcodec.h" +#include "libavcodec/bsf.h" #include "avformat.h" #include "os_support.h" diff --git a/libavformat/mux.c b/libavformat/mux.c index d719e16283..6fa1c5495b 100644 --- a/libavformat/mux.c +++ b/libavformat/mux.c @@ -21,6 +21,7 @@ #include "avformat.h" #include "internal.h" +#include "libavcodec/bsf.h" #include "libavcodec/internal.h" #include "libavcodec/packet_internal.h" #include "libavutil/opt.h" diff --git a/libavformat/tee.c b/libavformat/tee.c index f33cbea98c..759535bdea 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -23,6 +23,7 @@ #include "libavutil/avutil.h" #include "libavutil/avstring.h" #include "libavutil/opt.h" +#include "libavcodec/bsf.h" #include "internal.h" #include "avformat.h" #include "avio_internal.h" diff --git a/libavformat/utils.c b/libavformat/utils.c index 0396e42ce7..508a2b8bc2 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -35,6 +35,7 @@ #include "libavutil/time.h" #include "libavutil/timestamp.h" +#include "libavcodec/bsf.h" #include "libavcodec/bytestream.h" #include "libavcodec/internal.h" #include "libavcodec/packet_internal.h" diff --git a/tools/target_bsf_fuzzer.c b/tools/target_bsf_fuzzer.c index bab809162a..56f011ad21 100644 --- a/tools/target_bsf_fuzzer.c +++ b/tools/target_bsf_fuzzer.c @@ -21,6 +21,7 @@ #include "libavutil/opt.h" #include "libavcodec/avcodec.h" +#include "libavcodec/bsf.h" #include "libavcodec/bsf_internal.h" #include "libavcodec/bytestream.h" #include "libavcodec/internal.h" |