mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
Check added in last checkin was tripping on the ends of the varargs array
Original commit message from CVS: Check added in last checkin was tripping on the ends of the varargs array
This commit is contained in:
parent
902c0c29eb
commit
8198263d02
1 changed files with 4 additions and 0 deletions
|
@ -747,6 +747,8 @@ G_STMT_START { \
|
|||
entry->propstype = GST_PROPS_LIST_TYPE; \
|
||||
entry->data.list_data.entries = g_list_copy (va_arg (var_args, GList*)); \
|
||||
break; \
|
||||
case GST_PROPS_END_TYPE: \
|
||||
break; \
|
||||
default: \
|
||||
g_warning("attempt to set invalid props type\n"); \
|
||||
break; \
|
||||
|
@ -793,6 +795,8 @@ G_STMT_START { \
|
|||
case GST_PROPS_LIST_TYPE: \
|
||||
*(va_arg (var_args, GList**)) = entry->data.list_data.entries; \
|
||||
break; \
|
||||
case GST_PROPS_END_TYPE: \
|
||||
break; \
|
||||
default: \
|
||||
*result = FALSE; \
|
||||
break; \
|
||||
|
|
Loading…
Reference in a new issue