mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
srtp: fix compilation warning returning NULL in case of error
https://bugzilla.gnome.org/show_bug.cgi?id=695897
This commit is contained in:
parent
2347c4e711
commit
ea2332c466
1 changed files with 3 additions and 2 deletions
|
@ -637,8 +637,9 @@ get_rtp_other_pad (GstPad * pad)
|
|||
return priv->sinkpad;
|
||||
else if (pad == priv->sinkpad)
|
||||
return priv->srcpad;
|
||||
else
|
||||
g_assert_not_reached ();
|
||||
|
||||
g_assert_not_reached ();
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Release a sink pad and it's linked source pad
|
||||
|
|
Loading…
Reference in a new issue