From: Wim Taymans Date: Tue, 7 Sep 2010 11:55:04 +0000 (+0200) Subject: rvawdepay: cleanup unused fields X-Git-Tag: RELEASE-0.10.26~178 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=474c013051d109924f74d8a3f8f719075821c71a;p=platform%2Fupstream%2Fgst-plugins-good.git rvawdepay: cleanup unused fields --- 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;