tsdemux: remove dead code

After commit b4c9aa1c30 template will always be
NULL. The if conditional will always be FALSE, so removing it.

CID #1304674
This commit is contained in:
Luis de Bethencourt 2015-06-08 13:37:32 +01:00
parent 81a3585904
commit 0635acfec0

View file

@ -1197,8 +1197,6 @@ create_pad_for_stream (MpegTSBase * base, MpegTSBaseStream * bstream,
"alignment", G_TYPE_STRING, "nal", NULL); "alignment", G_TYPE_STRING, "nal", NULL);
break; break;
} }
if (template)
break;
/* hack for itv hd (sid 10510, video pid 3401 */ /* hack for itv hd (sid 10510, video pid 3401 */
if (program->program_number == 10510 && bstream->pid == 3401) { if (program->program_number == 10510 && bstream->pid == 3401) {