From 767ccbb387a462c9bc21aaf22d2c3d3358c147b8 Mon Sep 17 00:00:00 2001 From: iphydf Date: Sun, 12 Aug 2018 14:22:21 +0000 Subject: Avoid forward declaration of rtp structs. Forward declarations are problematic, as they easily allow introducing cyclic dependencies. --- toxav/video.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'toxav/video.h') diff --git a/toxav/video.h b/toxav/video.h index 19ceb9ba..898c986a 100644 --- a/toxav/video.h +++ b/toxav/video.h @@ -24,6 +24,8 @@ #include "../toxcore/logger.h" #include "../toxcore/util.h" +#include "ring_buffer.h" +#include "rtp.h" #include #include @@ -35,9 +37,6 @@ #include -struct RTPMessage; -struct RingBuffer; - typedef struct VCSession_s { /* encoding */ vpx_codec_ctx_t encoder[1]; -- cgit v1.2.3