Fix compilation on MSVC.

Signed-off-by: Nicolas George <geo...@nsup.org>
---
 libavfilter/framequeue.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/framequeue.h b/libavfilter/framequeue.h
index 558ea22223..f5ef744638 100644
--- a/libavfilter/framequeue.h
+++ b/libavfilter/framequeue.h
@@ -44,6 +44,7 @@ typedef struct FFFrameBucket {
  * It is currently empty.
  */
 typedef struct FFFrameQueueGlobal {
+    char dummy; /* C does not allow empty structs */
 } FFFrameQueueGlobal;
 
 /**
-- 
2.11.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to