summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpac3depay.c
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-04-18 18:11:00 +0200
committerEdward Hervey <bilboed@bilboed.com>2009-04-18 18:51:28 +0200
commit0cb5b42d546538b455ac3bbe90b07e3eb67eb820 (patch)
tree24b178742be806e745b7a3891aa0d63920c364b4 /gst/rtp/gstrtpac3depay.c
parentcdb03bdc2b4548909f3f47eec6dfbbb3b5159411 (diff)
Remove trivial unused variables detected by CLang static analyzer.
Diffstat (limited to 'gst/rtp/gstrtpac3depay.c')
-rw-r--r--gst/rtp/gstrtpac3depay.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gst/rtp/gstrtpac3depay.c b/gst/rtp/gstrtpac3depay.c
index 4dd3bbab..6165d901 100644
--- a/gst/rtp/gstrtpac3depay.c
+++ b/gst/rtp/gstrtpac3depay.c
@@ -102,13 +102,10 @@ static gboolean
gst_rtp_ac3_depay_setcaps (GstBaseRTPDepayload * depayload, GstCaps * caps)
{
GstStructure *structure;
- GstRtpAC3Depay *rtpac3depay;
gint clock_rate;
GstCaps *srccaps;
gboolean res;
- rtpac3depay = GST_RTP_AC3_DEPAY (depayload);
-
structure = gst_caps_get_structure (caps, 0);
if (!gst_structure_get_int (structure, "clock-rate", &clock_rate))