diff --git a/libavformat/avio.h b/libavformat/avio.h index 89e0804966..2210c015a0 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -28,7 +28,6 @@ #include -#include "libavutil/bprint.h" #include "libavutil/common.h" #include "libavutil/dict.h" #include "libavutil/log.h" @@ -508,6 +507,9 @@ int avio_pause(AVIOContext *h, int pause); int64_t avio_seek_time(AVIOContext *h, int stream_index, int64_t timestamp, int flags); +/* Avoid a warning. The header can not be included because it breaks c++. */ +struct AVBPrint; + /** * Read contents of h into print buffer, up to max_size bytes, or up to EOF. *