diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2011-07-12 17:57:45 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2011-07-12 17:57:45 -0400 |
commit | c1f432ee1800eefe8e8eed4a9ae9207063b3f378 (patch) | |
tree | 2891b728cd8f49f08b8d37bbe12b52b5bfdb6152 /gst/pcapparse/gstpcapparse.c | |
parent | 35f85f978e17cf4711c257735b7440e144a8f2ee (diff) | |
download | gstreamer-plugins-bad-c1f432ee1800eefe8e8eed4a9ae9207063b3f378.tar.gz |
pcapparse: Fix set-but-unused warnings
Diffstat (limited to 'gst/pcapparse/gstpcapparse.c')
-rw-r--r-- | gst/pcapparse/gstpcapparse.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/pcapparse/gstpcapparse.c b/gst/pcapparse/gstpcapparse.c index 2d3436cc6..47bf0ace2 100644 --- a/gst/pcapparse/gstpcapparse.c +++ b/gst/pcapparse/gstpcapparse.c @@ -466,7 +466,6 @@ gst_pcap_parse_chain (GstPad * pad, GstBuffer * buffer) guint32 ts_sec; guint32 ts_usec; guint32 incl_len; - guint32 orig_len; if (avail < 16) break; @@ -476,7 +475,7 @@ gst_pcap_parse_chain (GstPad * pad, GstBuffer * buffer) ts_sec = gst_pcap_parse_read_uint32 (self, data + 0); ts_usec = gst_pcap_parse_read_uint32 (self, data + 4); incl_len = gst_pcap_parse_read_uint32 (self, data + 8); - orig_len = gst_pcap_parse_read_uint32 (self, data + 12); + /* orig_len = gst_pcap_parse_read_uint32 (self, data + 12); */ gst_adapter_flush (self->adapter, 16); |