diff --git a/gst-libs/gst/mpegts/gstmpegtssection.c b/gst-libs/gst/mpegts/gstmpegtssection.c index 41289d6c7d..4913095eb5 100644 --- a/gst-libs/gst/mpegts/gstmpegtssection.c +++ b/gst-libs/gst/mpegts/gstmpegtssection.c @@ -657,10 +657,6 @@ _parse_pmt (GstMpegTsSection * section) guint stream_info_length; pmt = g_slice_new0 (GstMpegTsPMT); - if (!pmt) { - GST_WARNING ("Failed to allocate PMT structure"); - goto error; - } data = section->data; end = data + section->section_length;