Commit 96463bb8 authored by Bastien Nocera's avatar Bastien Nocera Committed by Sebastian Dröge
parent a29e55f9
......@@ -271,7 +271,7 @@ gst_base_rtp_depayload_chain (GstPad * pad, GstBuffer * in)
GstClockTime timestamp;
guint16 seqnum;
guint32 rtptime;
gboolean reset_seq, discont;
gboolean discont;
gint gap;
filter = GST_BASE_RTP_DEPAYLOAD (GST_OBJECT_PARENT (pad));
......@@ -299,7 +299,6 @@ gst_base_rtp_depayload_chain (GstPad * pad, GstBuffer * in)
seqnum = gst_rtp_buffer_get_seq (in);
rtptime = gst_rtp_buffer_get_timestamp (in);
reset_seq = TRUE;
discont = FALSE;
GST_LOG_OBJECT (filter, "discont %d, seqnum %u, rtptime %u, timestamp %"
......@@ -547,11 +546,8 @@ static GstFlowReturn
gst_base_rtp_depayload_prepare_push (GstBaseRTPDepayload * filter,
gboolean do_ts, guint32 rtptime, gboolean is_list, gpointer obj)
{
GstBaseRTPDepayloadPrivate *priv;
HeaderData data;
priv = filter->priv;
data.depayload = filter;
data.caps = GST_PAD_CAPS (filter->srcpad);
data.rtptime = rtptime;
......
......@@ -1614,7 +1614,6 @@ gst_rtp_buffer_add_extension_onebyte_header (GstBuffer * buffer, guint8 id,
guint8 *pdata;
guint wordlen;
gboolean has_bit;
guint bytelen;
g_return_val_if_fail (id > 0 && id < 15, FALSE);
g_return_val_if_fail (size >= 1 && size <= 16, FALSE);
......@@ -1623,8 +1622,6 @@ gst_rtp_buffer_add_extension_onebyte_header (GstBuffer * buffer, guint8 id,
has_bit = gst_rtp_buffer_get_extension_data (buffer, &bits,
(gpointer) & pdata, &wordlen);
bytelen = wordlen * 4;
if (has_bit) {
gulong offset = 0;
guint8 *nextext;
......@@ -1738,7 +1735,6 @@ gst_rtp_buffer_add_extension_twobytes_header (GstBuffer * buffer,
guint8 *pdata;
guint wordlen;
gboolean has_bit;
guint bytelen;
g_return_val_if_fail ((appbits & 0xF0) == 0, FALSE);
g_return_val_if_fail (size < 256, FALSE);
......@@ -1747,8 +1743,6 @@ gst_rtp_buffer_add_extension_twobytes_header (GstBuffer * buffer,
has_bit = gst_rtp_buffer_get_extension_data (buffer, &bits,
(gpointer) & pdata, &wordlen);
bytelen = wordlen * 4;
if (has_bit) {
gulong offset = 0;
guint8 *nextext;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment