aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/aviobuf.c
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2014-07-24 09:34:10 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-07-25 05:37:45 +0200
commit04bc37007224cfab68bc557507c449fb661218e5 (patch)
tree31c64a55ec4c6da11f34283264357409ca2056b4 /libavformat/aviobuf.c
parent66ae994c544a46e4f6915222d8608b3d87b39b07 (diff)
downloadffmpeg-04bc37007224cfab68bc557507c449fb661218e5.tar.gz
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 <george@nsup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r--libavformat/aviobuf.c1
1 files changed, 1 insertions, 0 deletions
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"