aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-05-21 18:54:50 +0200
committerAnton Khirnov <anton@khirnov.net>2021-06-10 16:51:44 +0200
commite67e02d15672a87da1b0566e197a1e19dc7e1e33 (patch)
treec40f44d4514d0cbcf4dbeb11e6a9ba9bc105e5dd /libavformat/avformat.h
parented728da3af6f8916c4b35472f822f05d41c4524c (diff)
downloadffmpeg-e67e02d15672a87da1b0566e197a1e19dc7e1e33.tar.gz
lavf/avformat.h: drop the avcodec.h include
Since AVStream.codec is gone, avformat.h does not require anything from avcodec.h.
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 094683f12a..efe1f5823f 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -309,7 +309,12 @@
#include <time.h>
#include <stdio.h> /* FILE */
-#include "libavcodec/avcodec.h"
+
+#include "libavcodec/codec.h"
+#include "libavcodec/codec_par.h"
+#include "libavcodec/defs.h"
+#include "libavcodec/packet.h"
+
#include "libavutil/dict.h"
#include "libavutil/log.h"