summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-08-16 11:50:34 +0100
committerLuis de Bethencourt <luis@debethencourt.com>2015-08-16 11:52:44 +0100
commit1aee15050c7d515c484a63ad731d24292ed4ed39 (patch)
treeffeb3a20e95f2863b7adbe541120ac3b87d08a36
parent1328289474d168ec5ee19112f1837cf25a01d041 (diff)
rtpvorbisdepay: remove dead code
payload_buffer must be NULL in ignore_reserved. Check will always be false. Introduced by b1089fb5207697ba26edb4ff66ed0f465c6df3cf CID #1316476
-rw-r--r--gst/rtp/gstrtpvorbisdepay.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gst/rtp/gstrtpvorbisdepay.c b/gst/rtp/gstrtpvorbisdepay.c
index bb6aa63d7..d71df1ea9 100644
--- a/gst/rtp/gstrtpvorbisdepay.c
+++ b/gst/rtp/gstrtpvorbisdepay.c
@@ -640,10 +640,6 @@ packet_short:
ignore_reserved:
{
GST_WARNING_OBJECT (rtpvorbisdepay, "reserved VDT ignored");
- if (payload_buffer) {
- gst_buffer_unmap (payload_buffer, &map);
- gst_buffer_unref (payload_buffer);
- }
return NULL;
}
length_short: