srtp: fix compilation warning returning NULL in case of error

https://bugzilla.gnome.org/show_bug.cgi?id=695897
This commit is contained in:
Jose Antonio Santos Cadenas 2013-03-15 09:29:42 +01:00 committed by Tim-Philipp Müller
parent 2347c4e711
commit ea2332c466

View file

@ -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