From 16972e092d3ffcfa7561bc2bfedac10b9a553782 Mon Sep 17 00:00:00 2001 From: Todor Tomov Date: Tue, 25 Jan 2011 17:46:45 +0200 Subject: Add padding to media structures Add padding to struct media_entity_link struct media_entity_pad struct media_entity struct media_device Signed-off-by: Todor Tomov --- media.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/media.h b/media.h index f299072..c7d4cdf 100644 --- a/media.h +++ b/media.h @@ -27,12 +27,14 @@ struct media_entity_link { struct media_entity_pad *sink; struct media_entity_link *twin; __u32 flags; + __u32 padding[3]; }; struct media_entity_pad { struct media_entity *entity; __u32 index; __u32 flags; + __u32 padding[3]; }; struct media_entity { @@ -44,12 +46,14 @@ struct media_entity { char devname[32]; int fd; + __u32 padding[6]; }; struct media_device { int fd; struct media_entity *entities; unsigned int entities_count; + __u32 padding[6]; }; struct media_device *media_open(const char *name, int verbose); -- cgit v1.2.3