summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2014-04-09 15:58:37 +0100
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2014-04-09 16:01:43 +0100
commit195470a785f5371cdcf3a55179c6304331c3978f (patch)
treecf9a7f24c603531530faec9e21bbe7a622ff27c7
parent224cb81b8fcbf03df5e07f045ecb9ecf64189400 (diff)
mpegts: turns out glib aborts on allocation failure
So this is actually pointless. We'll just have to ignore Coverity moaning on those. Revert "mpegts: test for allocation failure" This reverts commit 224cb81b8fcbf03df5e07f045ecb9ecf64189400.
-rw-r--r--gst-libs/gst/mpegts/gstmpegtssection.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gst-libs/gst/mpegts/gstmpegtssection.c b/gst-libs/gst/mpegts/gstmpegtssection.c
index 41289d6c7..4913095eb 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;