From 04bc37007224cfab68bc557507c449fb661218e5 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Thu, 24 Jul 2014 09:34:10 +0200 Subject: lavf/avio: do not include bprint.h. C++ chokes on the definition of AVBPrint. Including avio.h from c++ code used to work. Fix trac ticket #3800. Signed-off-by: Nicolas George Signed-off-by: Michael Niedermayer --- libavformat/aviobuf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/aviobuf.c') diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index 463d90a0d3..24c6b79097 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/bprint.h" #include "libavutil/crc.h" #include "libavutil/dict.h" #include "libavutil/intreadwrite.h" -- cgit v1.2.3