gst-plugins-bad: mpegtsmux: remove unused variable

Tim Müller tpm at kemper.freedesktop.org
Mon Mar 14 05:50:42 PDT 2011


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

Author: Andreas Frisch <andreas.frisch at multimedia-labs.de>
Date:   Fri Mar 11 14:40:44 2011 +0000

mpegtsmux: remove unused variable

---

 gst/mpegtsmux/mpegtsmux.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c
index 0ed2403..f6f12e0 100644
--- a/gst/mpegtsmux/mpegtsmux.c
+++ b/gst/mpegtsmux/mpegtsmux.c
@@ -821,7 +821,6 @@ new_packet_cb (guint8 * data, guint len, void *user_data, gint64 new_pcr)
   GstFlowReturn ret;
   gfloat current_ts;
   gint64 m2ts_pcr, pcr_bytes, chunk_bytes;
-  gint8 *temp_ptr;
   gint64 ts_rate;
 
   if (mux->m2ts_mode == TRUE) {
@@ -877,7 +876,6 @@ new_packet_cb (guint8 * data, guint len, void *user_data, gint64 new_pcr)
           m2ts_pcr = (((gint64) (STANDARD_TIME_CLOCK * current_ts / 300) &
                   TWO_POW_33_MINUS1) * 300) + ((gint64) (STANDARD_TIME_CLOCK *
                   current_ts) % 300);
-          temp_ptr = (gint8 *) & m2ts_pcr;
 
           out_buf = gst_adapter_take_buffer (mux->adapter, M2TS_PACKET_LENGTH);
           if (G_UNLIKELY (!out_buf))



More information about the gstreamer-commits mailing list