projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
825d435
)
omx: Add parenthesis at correct places in the struct init macro
author
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Mon, 8 Aug 2011 11:04:30 +0000
(13:04 +0200)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Mon, 8 Aug 2011 11:04:30 +0000
(13:04 +0200)
omx/gstomx.h
patch
|
blob
|
history
diff --git
a/omx/gstomx.h
b/omx/gstomx.h
index
337acf5
..
ebdd4e8
100644
(file)
--- a/
omx/gstomx.h
+++ b/
omx/gstomx.h
@@
-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