diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-04-18 18:11:00 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-04-18 18:51:28 +0200 |
commit | 0cb5b42d546538b455ac3bbe90b07e3eb67eb820 (patch) | |
tree | 24b178742be806e745b7a3891aa0d63920c364b4 /gst/rtp/gstrtpmp2tpay.c | |
parent | cdb03bdc2b4548909f3f47eec6dfbbb3b5159411 (diff) |
Remove trivial unused variables detected by CLang static analyzer.
Diffstat (limited to 'gst/rtp/gstrtpmp2tpay.c')
-rw-r--r-- | gst/rtp/gstrtpmp2tpay.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gst/rtp/gstrtpmp2tpay.c b/gst/rtp/gstrtpmp2tpay.c index dbec4eda..88d554cd 100644 --- a/gst/rtp/gstrtpmp2tpay.c +++ b/gst/rtp/gstrtpmp2tpay.c @@ -114,13 +114,6 @@ gst_rtp_mp2t_pay_finalize (GObject * object) static gboolean gst_rtp_mp2t_pay_setcaps (GstBaseRTPPayload * payload, GstCaps * caps) { - const char *stname; - GstStructure *structure; - - structure = gst_caps_get_structure (caps, 0); - - stname = gst_structure_get_name (structure); - gst_basertppayload_set_options (payload, "video", TRUE, "MP2T-ES", 90000); gst_basertppayload_set_outcaps (payload, NULL); @@ -164,14 +157,12 @@ gst_rtp_mp2t_pay_handle_buffer (GstBaseRTPPayload * basepayload, { GstRTPMP2TPay *rtpmp2tpay; guint size, avail, packet_len; - guint8 *data; GstClockTime timestamp, duration; GstFlowReturn ret; rtpmp2tpay = GST_RTP_MP2T_PAY (basepayload); size = GST_BUFFER_SIZE (buffer); - data = GST_BUFFER_DATA (buffer); timestamp = GST_BUFFER_TIMESTAMP (buffer); duration = GST_BUFFER_DURATION (buffer); |