[FFmpeg-cvslog] lavfi/framequeue: avoid empty structs.
Nicolas George
git at videolan.org
Tue Dec 20 11:03:55 EET 2016
ffmpeg | branch: master | Nicolas George <george at nsup.org> | Mon Dec 19 08:55:30 2016 +0100| [bec8ea20c88e89dbfbe89c590a74c9818dfcfcce] | committer: Nicolas George
lavfi/framequeue: avoid empty structs.
Fix compilation on MSVC.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bec8ea20c88e89dbfbe89c590a74c9818dfcfcce
---
libavfilter/framequeue.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/framequeue.h b/libavfilter/framequeue.h
index 558ea22..f5ef744 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;
/**
More information about the ffmpeg-cvslog
mailing list