avformat: Remove avformat and avio headers from protocols

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
pull/390/head
Andreas Rheinhardt 1 year ago
parent d6afd6c303
commit ee77ee77a1
  1. 1
      libavformat/avio.c
  2. 1
      libavformat/bluray.c
  3. 4
      libavformat/concat.c
  4. 2
      libavformat/crypto.c
  5. 1
      libavformat/hlsproto.c
  6. 1
      libavformat/httpauth.c
  7. 2
      libavformat/libsmbclient.c
  8. 1
      libavformat/md5proto.c
  9. 1
      libavformat/rtpproto.c
  10. 2
      libavformat/srtpproto.c
  11. 1
      libavformat/subfile.c
  12. 9
      libavformat/teeproto.c
  13. 2
      libavformat/udp.c
  14. 6
      libavformat/url.c

@ -25,7 +25,6 @@
#include "libavutil/time.h" #include "libavutil/time.h"
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "os_support.h" #include "os_support.h"
#include "avformat.h"
#include "internal.h" #include "internal.h"
#if CONFIG_NETWORK #if CONFIG_NETWORK
#include "network.h" #include "network.h"

@ -23,7 +23,6 @@
#include <libbluray/bluray.h> #include <libbluray/bluray.h>
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavformat/avformat.h"
#include "libavformat/url.h" #include "libavformat/url.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"

@ -21,13 +21,15 @@
* 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 <string.h>
#include "config_components.h" #include "config_components.h"
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavutil/bprint.h" #include "libavutil/bprint.h"
#include "libavutil/error.h"
#include "libavutil/mem.h" #include "libavutil/mem.h"
#include "avformat.h"
#include "avio_internal.h" #include "avio_internal.h"
#include "url.h" #include "url.h"

@ -19,11 +19,9 @@
* 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 "avformat.h"
#include "libavutil/aes.h" #include "libavutil/aes.h"
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "internal.h"
#include "url.h" #include "url.h"
// encourage reads of 4096 bytes - 1 block is always retained. // encourage reads of 4096 bytes - 1 block is always retained.

@ -27,7 +27,6 @@
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavutil/time.h" #include "libavutil/time.h"
#include "avformat.h"
#include "avio_internal.h" #include "avio_internal.h"
#include "internal.h" #include "internal.h"
#include "url.h" #include "url.h"

@ -26,7 +26,6 @@
#include "libavutil/random_seed.h" #include "libavutil/random_seed.h"
#include "libavutil/md5.h" #include "libavutil/md5.h"
#include "urldecode.h" #include "urldecode.h"
#include "avformat.h"
static void handle_basic_params(HTTPAuthState *state, const char *key, static void handle_basic_params(HTTPAuthState *state, const char *key,
int key_len, char **dest, int *dest_len) int key_len, char **dest, int *dest_len)

@ -21,8 +21,6 @@
#include <libsmbclient.h> #include <libsmbclient.h>
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "avformat.h"
#include "internal.h"
#include "url.h" #include "url.h"
typedef struct { typedef struct {

@ -23,7 +23,6 @@
#include "libavutil/md5.h" #include "libavutil/md5.h"
#include "libavutil/mem.h" #include "libavutil/mem.h"
#include "libavutil/error.h" #include "libavutil/error.h"
#include "avformat.h"
#include "avio.h" #include "avio.h"
#include "internal.h" #include "internal.h"
#include "url.h" #include "url.h"

@ -28,7 +28,6 @@
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "avformat.h" #include "avformat.h"
#include "avio_internal.h"
#include "rtp.h" #include "rtp.h"
#include "rtpproto.h" #include "rtpproto.h"
#include "url.h" #include "url.h"

@ -21,10 +21,8 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "avformat.h" #include "avformat.h"
#include "avio_internal.h"
#include "url.h" #include "url.h"
#include "internal.h"
#include "rtpdec.h" #include "rtpdec.h"
#include "srtp.h" #include "srtp.h"

@ -20,7 +20,6 @@
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "avformat.h"
#include "url.h" #include "url.h"
typedef struct SubfileContext { typedef struct SubfileContext {

@ -19,10 +19,15 @@
* 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 <string.h>
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "avformat.h" #include "libavutil/dict.h"
#include "avio_internal.h" #include "libavutil/error.h"
#include "libavutil/mem.h"
#include "avio.h"
#include "tee_common.h" #include "tee_common.h"
#include "url.h"
typedef struct ChildContext { typedef struct ChildContext {
URLContext *url_context; URLContext *url_context;

@ -28,12 +28,10 @@
#define _BSD_SOURCE /* Needed for using struct ip_mreq with recent glibc */ #define _BSD_SOURCE /* Needed for using struct ip_mreq with recent glibc */
#include "avformat.h" #include "avformat.h"
#include "avio_internal.h"
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "libavutil/parseutils.h" #include "libavutil/parseutils.h"
#include "libavutil/fifo.h" #include "libavutil/fifo.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/avstring.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/log.h" #include "libavutil/log.h"
#include "libavutil/time.h" #include "libavutil/time.h"

@ -19,16 +19,18 @@
* 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 <string.h>
#include "avformat.h"
#include "internal.h"
#include "config.h" #include "config.h"
#include "avio.h"
#include "url.h" #include "url.h"
#if CONFIG_NETWORK #if CONFIG_NETWORK
#include "network.h" #include "network.h"
#endif #endif
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavutil/error.h"
#include "libavutil/mem.h"
/** /**
* @file * @file

Loading…
Cancel
Save