mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
omx: Add parenthesis at correct places in the struct init macro
This commit is contained in:
parent
825d435d7d
commit
8791be3f95
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue