diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2013-08-16 19:48:03 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2013-08-16 19:48:03 +0100 |
commit | b8f9d674bef05a4020cef6ab2a53b0f346232444 (patch) | |
tree | 11e63dec6b39a5e4f63bfd992047fc009935ec8d /ext | |
parent | 7f2122695662dcf64e5e2980eab93f5816a2c4b1 (diff) |
srtpdec: fix buffers being dropped due to shadowed variable
Spotted by gstblub@gmail.com.
https://bugzilla.gnome.org/show_bug.cgi?id=706091
Diffstat (limited to 'ext')
-rw-r--r-- | ext/srtp/gstsrtpdec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/srtp/gstsrtpdec.c b/ext/srtp/gstsrtpdec.c index 41efb1dde..80ed582a0 100644 --- a/ext/srtp/gstsrtpdec.c +++ b/ext/srtp/gstsrtpdec.c @@ -617,8 +617,7 @@ request_key_with_signal (GstSrtpDec * filter, guint32 ssrc, gint signal) caps = signal_get_srtp_params (filter, ssrc, signal); if (caps) { - GstSrtpDecSsrcStream *stream = - update_session_stream_from_caps (filter, ssrc, caps); + stream = update_session_stream_from_caps (filter, ssrc, caps); if (stream) GST_DEBUG_OBJECT (filter, "New stream set with SSRC %d", ssrc); else |