[FFmpeg-devel] [PATCH] lavfi/framequeue: avoid empty structs.
Nicolas George
george at nsup.org
Mon Dec 19 09:56:57 EET 2016
Fix compilation on MSVC.
Signed-off-by: Nicolas George <george at 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
More information about the ffmpeg-devel
mailing list