From f87db44685393f85c89cb338c8617e2ee6bd51f8 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Sat, 9 Aug 2014 15:51:04 +0200 Subject: lavf/avio: do not include bprint.h. See f75786f and 04bc370. --- libavformat/avio.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavformat') 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. * -- cgit v1.2.3