mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
fix segfault when using unsafe get_props
Original commit message from CVS: fix segfault when using unsafe get_props
This commit is contained in:
parent
aef003a55c
commit
19bd060114
1 changed files with 1 additions and 1 deletions
|
@ -193,11 +193,11 @@ G_STMT_START { \
|
|||
|
||||
#define GST_PROPS_ENTRY_READ(entry, var_args, safe, result) \
|
||||
G_STMT_START { \
|
||||
GstPropsType propstype = va_arg (var_args, GstPropsType); \
|
||||
\
|
||||
*result = TRUE; \
|
||||
\
|
||||
if (safe) { \
|
||||
GstPropsType propstype = va_arg (var_args, GstPropsType); \
|
||||
if (propstype != entry->propstype) { \
|
||||
*result = FALSE; \
|
||||
} \
|
||||
|
|
Loading…
Reference in a new issue