mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
rtp: Remove unused variables
https://bugzilla.gnome.org/show_bug.cgi?id=646924
This commit is contained in:
parent
a29e55f9c4
commit
96463bb8df
2 changed files with 1 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue