From 474c013051d109924f74d8a3f8f719075821c71a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 7 Sep 2010 13:55:04 +0200 Subject: [PATCH] rvawdepay: cleanup unused fields --- gst/rtp/gstrtpvrawdepay.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gst/rtp/gstrtpvrawdepay.c b/gst/rtp/gstrtpvrawdepay.c index 70d5f81186..54a4b52875 100644 --- a/gst/rtp/gstrtpvrawdepay.c +++ b/gst/rtp/gstrtpvrawdepay.c @@ -266,9 +266,9 @@ static GstBuffer * gst_rtp_vraw_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf) { GstRtpVRawDepay *rtpvrawdepay; - guint8 *payload, *data, *dataend, *yp, *up, *vp, *headers; + guint8 *payload, *data, *yp, *up, *vp, *headers; guint32 timestamp; - guint cont, ystride, uvstride, pgroup, payload_len, size; + guint cont, ystride, uvstride, pgroup, payload_len; gint width, height, xinc, yinc; rtpvrawdepay = GST_RTP_VRAW_DEPAY (depayload); @@ -300,8 +300,6 @@ gst_rtp_vraw_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf) } data = GST_BUFFER_DATA (rtpvrawdepay->outbuf); - size = GST_BUFFER_SIZE (rtpvrawdepay->outbuf); - dataend = data + size; /* get pointer and strides of the planes */ yp = data + rtpvrawdepay->yp;