srtpdec: fix buffers being dropped due to shadowed variable

Spotted by gstblub@gmail.com.

https://bugzilla.gnome.org/show_bug.cgi?id=706091
This commit is contained in:
Tim-Philipp Müller 2013-08-16 19:48:03 +01:00
parent 7f21226956
commit b8f9d674be

View file

@ -617,8 +617,7 @@ request_key_with_signal (GstSrtpDec * filter, guint32 ssrc, gint signal)
caps = signal_get_srtp_params (filter, ssrc, signal); caps = signal_get_srtp_params (filter, ssrc, signal);
if (caps) { if (caps) {
GstSrtpDecSsrcStream *stream = stream = update_session_stream_from_caps (filter, ssrc, caps);
update_session_stream_from_caps (filter, ssrc, caps);
if (stream) if (stream)
GST_DEBUG_OBJECT (filter, "New stream set with SSRC %d", ssrc); GST_DEBUG_OBJECT (filter, "New stream set with SSRC %d", ssrc);
else else