From 0635acfec041b1c664bc0770839b1a576e3598b1 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Mon, 8 Jun 2015 13:37:32 +0100 Subject: tsdemux: remove dead code After commit b4c9aa1c308f88bf4e1f69ab0156ed9f99815e8e template will always be NULL. The if conditional will always be FALSE, so removing it. CID #1304674 --- gst/mpegtsdemux/tsdemux.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'gst') diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c index d6ed0015f..7a42b056d 100644 --- a/gst/mpegtsdemux/tsdemux.c +++ b/gst/mpegtsdemux/tsdemux.c @@ -1197,8 +1197,6 @@ create_pad_for_stream (MpegTSBase * base, MpegTSBaseStream * bstream, "alignment", G_TYPE_STRING, "nal", NULL); break; } - if (template) - break; /* hack for itv hd (sid 10510, video pid 3401 */ if (program->program_number == 10510 && bstream->pid == 3401) { -- cgit v1.2.1