summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpmp1sdepay.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtp/gstrtpmp1sdepay.c')
-rw-r--r--gst/rtp/gstrtpmp1sdepay.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gst/rtp/gstrtpmp1sdepay.c b/gst/rtp/gstrtpmp1sdepay.c
index 6ca6a9bd..785fe3d6 100644
--- a/gst/rtp/gstrtpmp1sdepay.c
+++ b/gst/rtp/gstrtpmp1sdepay.c
@@ -115,12 +115,9 @@ gst_rtp_mp1s_depay_setcaps (GstBaseRTPDepayload * depayload, GstCaps * caps)
{
GstCaps *srccaps;
GstStructure *structure;
- GstRtpMP1SDepay *rtpmp1sdepay;
gint clock_rate;
gboolean res;
- rtpmp1sdepay = GST_RTP_MP1S_DEPAY (depayload);
-
structure = gst_caps_get_structure (caps, 0);
if (!gst_structure_get_int (structure, "clock-rate", &clock_rate))
clock_rate = 90000; /* default */
@@ -137,11 +134,8 @@ gst_rtp_mp1s_depay_setcaps (GstBaseRTPDepayload * depayload, GstCaps * caps)
static GstBuffer *
gst_rtp_mp1s_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf)
{
- GstRtpMP1SDepay *rtpmp1sdepay;
GstBuffer *outbuf;
- rtpmp1sdepay = GST_RTP_MP1S_DEPAY (depayload);
-
outbuf = gst_rtp_buffer_get_payload_buffer (buf);
GST_DEBUG ("gst_rtp_mp1s_depay_chain: pushing buffer of size %d",