[gst-cvs] gst-plugins-good: rvawdepay: cleanup unused fields

Wim Taymans wtay at kemper.freedesktop.org
Tue Sep 7 04:57:17 PDT 2010


Module: gst-plugins-good
Branch: master
Commit: 474c013051d109924f74d8a3f8f719075821c71a
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=474c013051d109924f74d8a3f8f719075821c71a

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Tue Sep  7 13:55:04 2010 +0200

rvawdepay: cleanup unused fields

---

 gst/rtp/gstrtpvrawdepay.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/gst/rtp/gstrtpvrawdepay.c b/gst/rtp/gstrtpvrawdepay.c
index 70d5f81..54a4b52 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;





More information about the Gstreamer-commits mailing list