summaryrefslogtreecommitdiff
path: root/media.h
diff options
context:
space:
mode:
authorTodor Tomov <ttomov@mm-sol.com>2011-01-25 17:46:45 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-02-07 15:37:55 +0100
commit16972e092d3ffcfa7561bc2bfedac10b9a553782 (patch)
tree88bd2e757a42d36eef9305d874018d9cbd0add69 /media.h
parent1305b42c68587e5e96b662bc8694a3f821e51e0d (diff)
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 <ttomov@mm-sol.com>
Diffstat (limited to 'media.h')
-rw-r--r--media.h4
1 files changed, 4 insertions, 0 deletions
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);