aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mxfdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-23 04:01:44 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-29 22:02:05 +0200
commitfd101c9c3bcdeb2d74274aaeaa968fe8ead3622d (patch)
tree7e615f5914a0ce123ad7b0d9fa06e8a16f4b6117 /libavformat/mxfdec.c
parent642b202567d5c18af65a9cf97a46e2ee60084490 (diff)
downloadffmpeg-fd101c9c3bcdeb2d74274aaeaa968fe8ead3622d.tar.gz
avformat/internal: Move ff_read_line_to_bprint_overwrite to avio_internal.h
It only uses an AVIOContext and an AVBPrint. When doing so, it turned out that several non-users of ff_read_line_to_bprint_overwrite() and ff_bprint_to_codecpar_extradata() relied on libavformat/internal.h to include bprint.h or avstring.h for them. In order to avoid a repeat of this and in order to reduce unnecessary dependencies, a forward declaration of struct AVBPrint is used instead of including bprint.h. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/mxfdec.c')
-rw-r--r--libavformat/mxfdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index 52fbbc6e35..f93cc30f0e 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -47,6 +47,7 @@
#include <inttypes.h>
#include "libavutil/aes.h"
+#include "libavutil/avstring.h"
#include "libavutil/mastering_display_metadata.h"
#include "libavutil/mathematics.h"
#include "libavcodec/bytestream.h"