[FFmpeg-cvslog] lavf/avio: do not include bprint.h.
Nicolas George
git at videolan.org
Sun Aug 10 01:41:55 CEST 2014
ffmpeg | branch: master | Nicolas George <george at nsup.org> | Sat Aug 9 15:51:04 2014 +0200| [f87db44685393f85c89cb338c8617e2ee6bd51f8] | committer: Nicolas George
lavf/avio: do not include bprint.h.
See f75786f and 04bc370.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f87db44685393f85c89cb338c8617e2ee6bd51f8
---
libavformat/avio.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 89e0804..2210c01 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -28,7 +28,6 @@
#include <stdint.h>
-#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.
*
More information about the ffmpeg-cvslog
mailing list