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>
pull/360/head
Andreas Rheinhardt 4 years ago
parent 73b847e136
commit 57b5ec6ba7
  1. 1
      fftools/cmdutils.c
  2. 1
      fftools/ffmpeg.h
  3. 1
      fftools/ffmpeg_opt.c
  4. 1
      libavcodec/avcodec.c
  5. 1
      libavcodec/avcodec.h
  6. 6
      libavcodec/bitstream_filters.c
  7. 1
      libavcodec/cbs_bsf.c
  8. 1
      libavcodec/decode.c
  9. 1
      libavcodec/internal.h
  10. 1
      libavcodec/libaomenc.c
  11. 1
      libavcodec/librav1e.c
  12. 1
      libavcodec/opus_metadata_bsf.c
  13. 1
      libavcodec/pcm_rechunk_bsf.c
  14. 1
      libavformat/av1dec.c
  15. 1
      libavformat/concatdec.c
  16. 1
      libavformat/internal.h
  17. 1
      libavformat/mux.c
  18. 1
      libavformat/tee.c
  19. 1
      libavformat/utils.c
  20. 1
      tools/target_bsf_fuzzer.c

@ -53,6 +53,7 @@
#include "libavutil/cpu.h" #include "libavutil/cpu.h"
#include "libavutil/ffversion.h" #include "libavutil/ffversion.h"
#include "libavutil/version.h" #include "libavutil/version.h"
#include "libavcodec/bsf.h"
#include "cmdutils.h" #include "cmdutils.h"
#if HAVE_SYS_RESOURCE_H #if HAVE_SYS_RESOURCE_H
#include <sys/time.h> #include <sys/time.h>

@ -31,6 +31,7 @@
#include "libavformat/avio.h" #include "libavformat/avio.h"
#include "libavcodec/avcodec.h" #include "libavcodec/avcodec.h"
#include "libavcodec/bsf.h"
#include "libavfilter/avfilter.h" #include "libavfilter/avfilter.h"

@ -27,6 +27,7 @@
#include "libavformat/avformat.h" #include "libavformat/avformat.h"
#include "libavcodec/avcodec.h" #include "libavcodec/avcodec.h"
#include "libavcodec/bsf.h"
#include "libavfilter/avfilter.h" #include "libavfilter/avfilter.h"

@ -32,6 +32,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/thread.h" #include "libavutil/thread.h"
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h"
#include "decode.h" #include "decode.h"
#include "encode.h" #include "encode.h"
#include "frame_thread_encoder.h" #include "frame_thread_encoder.h"

@ -41,7 +41,6 @@
#include "libavutil/pixfmt.h" #include "libavutil/pixfmt.h"
#include "libavutil/rational.h" #include "libavutil/rational.h"
#include "bsf.h"
#include "codec.h" #include "codec.h"
#include "codec_desc.h" #include "codec_desc.h"
#include "codec_par.h" #include "codec_par.h"

@ -16,12 +16,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * 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 "libavutil/log.h"
#include "avcodec.h" #include "bsf.h"
#include "bsf_internal.h" #include "bsf_internal.h"
extern const AVBitStreamFilter ff_aac_adtstoasc_bsf; extern const AVBitStreamFilter ff_aac_adtstoasc_bsf;

@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "bsf.h"
#include "bsf_internal.h" #include "bsf_internal.h"
#include "cbs_bsf.h" #include "cbs_bsf.h"

@ -40,6 +40,7 @@
#include "avcodec.h" #include "avcodec.h"
#include "bytestream.h" #include "bytestream.h"
#include "bsf.h"
#include "decode.h" #include "decode.h"
#include "hwconfig.h" #include "hwconfig.h"
#include "internal.h" #include "internal.h"

@ -32,6 +32,7 @@
#include "libavutil/mathematics.h" #include "libavutil/mathematics.h"
#include "libavutil/pixfmt.h" #include "libavutil/pixfmt.h"
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h"
#include "config.h" #include "config.h"
/** /**

@ -36,6 +36,7 @@
#include "av1.h" #include "av1.h"
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h"
#include "encode.h" #include "encode.h"
#include "internal.h" #include "internal.h"
#include "packet_internal.h" #include "packet_internal.h"

@ -30,6 +30,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/pixdesc.h" #include "libavutil/pixdesc.h"
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h"
#include "encode.h" #include "encode.h"
#include "internal.h" #include "internal.h"

@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "bsf.h"
#include "bsf_internal.h" #include "bsf_internal.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"

@ -19,6 +19,7 @@
*/ */
#include "avcodec.h" #include "avcodec.h"
#include "bsf.h"
#include "bsf_internal.h" #include "bsf_internal.h"
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"

@ -25,6 +25,7 @@
#include "libavutil/fifo.h" #include "libavutil/fifo.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavcodec/av1_parse.h" #include "libavcodec/av1_parse.h"
#include "libavcodec/bsf.h"
#include "avformat.h" #include "avformat.h"
#include "avio_internal.h" #include "avio_internal.h"
#include "internal.h" #include "internal.h"

@ -25,6 +25,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/parseutils.h" #include "libavutil/parseutils.h"
#include "libavutil/timestamp.h" #include "libavutil/timestamp.h"
#include "libavcodec/bsf.h"
#include "avformat.h" #include "avformat.h"
#include "internal.h" #include "internal.h"
#include "url.h" #include "url.h"

@ -26,6 +26,7 @@
#include "libavutil/bprint.h" #include "libavutil/bprint.h"
#include "libavcodec/avcodec.h" #include "libavcodec/avcodec.h"
#include "libavcodec/bsf.h"
#include "avformat.h" #include "avformat.h"
#include "os_support.h" #include "os_support.h"

@ -21,6 +21,7 @@
#include "avformat.h" #include "avformat.h"
#include "internal.h" #include "internal.h"
#include "libavcodec/bsf.h"
#include "libavcodec/internal.h" #include "libavcodec/internal.h"
#include "libavcodec/packet_internal.h" #include "libavcodec/packet_internal.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"

@ -23,6 +23,7 @@
#include "libavutil/avutil.h" #include "libavutil/avutil.h"
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavcodec/bsf.h"
#include "internal.h" #include "internal.h"
#include "avformat.h" #include "avformat.h"
#include "avio_internal.h" #include "avio_internal.h"

@ -35,6 +35,7 @@
#include "libavutil/time.h" #include "libavutil/time.h"
#include "libavutil/timestamp.h" #include "libavutil/timestamp.h"
#include "libavcodec/bsf.h"
#include "libavcodec/bytestream.h" #include "libavcodec/bytestream.h"
#include "libavcodec/internal.h" #include "libavcodec/internal.h"
#include "libavcodec/packet_internal.h" #include "libavcodec/packet_internal.h"

@ -21,6 +21,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavcodec/avcodec.h" #include "libavcodec/avcodec.h"
#include "libavcodec/bsf.h"
#include "libavcodec/bsf_internal.h" #include "libavcodec/bsf_internal.h"
#include "libavcodec/bytestream.h" #include "libavcodec/bytestream.h"
#include "libavcodec/internal.h" #include "libavcodec/internal.h"

Loading…
Cancel
Save