srtp: Fix critical warning trying to retrieve SSRC from a non fb message

https://bugzilla.gnome.org/show_bug.cgi?id=756876
This commit is contained in:
Santiago Carot-Nemesio 2015-10-20 17:09:22 +02:00 committed by Sebastian Dröge
parent cb5c1e8fd4
commit 073bff8ce2

View file

@ -162,7 +162,6 @@ rtcp_buffer_get_ssrc (GstBuffer * buf, guint32 * ssrc)
NULL);
ret = TRUE;
break;
case GST_RTCP_TYPE_APP:
case GST_RTCP_TYPE_RTPFB:
case GST_RTCP_TYPE_PSFB:
*ssrc = gst_rtcp_packet_fb_get_sender_ssrc (&packet);