mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:56:14 +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;
|
return priv->sinkpad;
|
||||||
else if (pad == priv->sinkpad)
|
else if (pad == priv->sinkpad)
|
||||||
return priv->srcpad;
|
return priv->srcpad;
|
||||||
else
|
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Release a sink pad and it's linked source pad
|
/* Release a sink pad and it's linked source pad
|
||||||
|
|
Loading…
Reference in a new issue