diff options
author | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2009-10-12 19:57:50 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2010-06-02 21:03:54 -0400 |
commit | d05df5500fa1eab1973c3ce3785870f3325d1c24 (patch) | |
tree | 2135588f54c63452747e80971758e7428c9e3aed /ext/mimic | |
parent | b559cfbf667cb5e5d8e89ab7abff104cc7eecb06 (diff) | |
download | gstreamer-plugins-bad-d05df5500fa1eab1973c3ce3785870f3325d1c24.tar.gz |
mimdec: Remove useless variable
Diffstat (limited to 'ext/mimic')
-rw-r--r-- | ext/mimic/gstmimdec.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ext/mimic/gstmimdec.c b/ext/mimic/gstmimdec.c index 7d0e2f3a1..827b8758f 100644 --- a/ext/mimic/gstmimdec.c +++ b/ext/mimic/gstmimdec.c @@ -153,17 +153,17 @@ gst_mim_dec_finalize (GObject * object) } static GstFlowReturn -gst_mim_dec_chain (GstPad * pad, GstBuffer * in) +gst_mim_dec_chain (GstPad * pad, GstBuffer * buf) { GstMimDec *mimdec; - GstBuffer *out_buf, *buf; + GstBuffer *out_buf; guchar *header, *frame_body; guint32 fourcc; guint16 header_size; gint width, height; GstCaps *caps; GstFlowReturn res = GST_FLOW_OK; - GstClockTime in_time = GST_BUFFER_TIMESTAMP (in); + GstClockTime in_time = GST_BUFFER_TIMESTAMP (buf); GstEvent *event = NULL; gboolean result = TRUE; @@ -172,7 +172,6 @@ gst_mim_dec_chain (GstPad * pad, GstBuffer * in) mimdec = GST_MIM_DEC (gst_pad_get_parent (pad)); g_return_val_if_fail (GST_IS_MIM_DEC (mimdec), GST_FLOW_ERROR); - buf = GST_BUFFER (in); gst_adapter_push (mimdec->adapter, buf); GST_OBJECT_LOCK (mimdec); |