diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-27 23:33:06 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-03 15:41:44 +0200 |
commit | 72c601e0f71d3c71a53d43bdac935489ed86e3c5 (patch) | |
tree | 38e07e928f79486d8f4a264f67eb22394f53a481 /libavformat | |
parent | 04b72178724ed08934e276c959a6f1a154e1e7d4 (diff) | |
download | ffmpeg-72c601e0f71d3c71a53d43bdac935489ed86e3c5.tar.gz |
avutil/internal: Move avpriv-file API to a header of its own
It is not used by the large majority of files that include
lavu/internal.h.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/cache.c | 4 | ||||
-rw-r--r-- | libavformat/file.c | 3 | ||||
-rw-r--r-- | libavformat/ipfsgateway.c | 1 |
3 files changed, 5 insertions, 3 deletions
diff --git a/libavformat/cache.c b/libavformat/cache.c index 1e19dafc6a..115c2c2490 100644 --- a/libavformat/cache.c +++ b/libavformat/cache.c @@ -29,10 +29,10 @@ #include "libavutil/avassert.h" #include "libavutil/avstring.h" -#include "libavutil/internal.h" +#include "libavutil/file_open.h" #include "libavutil/opt.h" #include "libavutil/tree.h" -#include "avformat.h" +#include "avio.h" #include <fcntl.h> #if HAVE_IO_H #include <io.h> diff --git a/libavformat/file.c b/libavformat/file.c index 98c9e81bcb..6103c37b34 100644 --- a/libavformat/file.c +++ b/libavformat/file.c @@ -22,9 +22,10 @@ #include "config_components.h" #include "libavutil/avstring.h" +#include "libavutil/file_open.h" #include "libavutil/internal.h" #include "libavutil/opt.h" -#include "avformat.h" +#include "avio.h" #if HAVE_DIRENT_H #include <dirent.h> #endif diff --git a/libavformat/ipfsgateway.c b/libavformat/ipfsgateway.c index 907b61b017..ce69d9055a 100644 --- a/libavformat/ipfsgateway.c +++ b/libavformat/ipfsgateway.c @@ -20,6 +20,7 @@ */ #include "libavutil/avstring.h" +#include "libavutil/file_open.h" #include "libavutil/getenv_utf8.h" #include "libavutil/opt.h" #include <sys/stat.h> |