mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 19:31:12 +00:00
rtspclientsink: remove check for impossible condition
Goto error label checks stream to see if it needs to be unreferenced before returning, but this goto jumps happens before the stream is ever set, so it will always be NULL in this error label. CID #1352034
This commit is contained in:
parent
4922b7f6b2
commit
fb9e957cc2
1 changed files with 0 additions and 2 deletions
|
@ -937,8 +937,6 @@ no_free_pt:
|
|||
GST_ELEMENT_ERROR (sink, RESOURCE, NO_SPACE_LEFT, (NULL),
|
||||
("Ran out of dynamic payload types."));
|
||||
|
||||
if (stream)
|
||||
g_object_unref (stream);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue