mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
structure: don't check type twice
This commit is contained in:
parent
8d5c77535e
commit
f864187bf5
1 changed files with 0 additions and 2 deletions
|
@ -1404,8 +1404,6 @@ gst_structure_get_string (const GstStructure * structure,
|
|||
|
||||
if (field == NULL)
|
||||
return NULL;
|
||||
if (!G_VALUE_HOLDS_STRING (&field->value))
|
||||
return NULL;
|
||||
|
||||
return g_value_get_string (&field->value);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue