aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/format.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-06 20:21:59 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-10 21:19:29 +0200
commit4f98bf9dbd0ef6a401fad40f6275ebd3904c83bf (patch)
tree31770d3cb78a298f18fa518f42229143a5ee7dd0 /libavformat/format.c
parent879178b40d2fd0ef9186d0ed3f693fb380714cba (diff)
downloadffmpeg-4f98bf9dbd0ef6a401fad40f6275ebd3904c83bf.tar.gz
avformat/avio_internal: Don't include url.h
It is only included because two very rarely used functions use pointers to URLContexts; use struct URLContext instead. Also move ffio_geturlcontext() so that one can avoid a forward declaration of struct URLContext (which would be necessary as soon as FF_API_AVIODIRCONTEXT is no more). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/format.c')
-rw-r--r--libavformat/format.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/format.c b/libavformat/format.c
index c91f71057a..477ad6b43b 100644
--- a/libavformat/format.c
+++ b/libavformat/format.c
@@ -30,6 +30,7 @@
#include "avformat.h"
#include "id3v2.h"
#include "internal.h"
+#include "url.h"
/**