omx: Add parenthesis at correct places in the struct init macro

This commit is contained in:
Sebastian Dröge 2011-08-08 13:04:30 +02:00
parent 825d435d7d
commit 8791be3f95

View file

@ -29,8 +29,8 @@
G_BEGIN_DECLS
#define GST_OMX_INIT_STRUCT(st) G_STMT_START { \
memset ((st), 0, sizeof ((*st))); \
(st)->nSize = sizeof ((*st)); \
memset ((st), 0, sizeof (*(st))); \
(st)->nSize = sizeof (*(st)); \
(st)->nVersion.s.nVersionMajor = 1; \
(st)->nVersion.s.nVersionMinor = 1; \
} G_STMT_END