rtpvorbisdepay: remove dead code

payload_buffer must be NULL in ignore_reserved. Check will always be false.

Introduced by b1089fb520

CID #1316476
This commit is contained in:
Luis de Bethencourt 2015-08-16 11:50:34 +01:00
parent 1328289474
commit 1aee15050c

View file

@ -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: