|
|
@@ -2400,9 +2400,6 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len |
|
|
|
if (!pes->st) |
|
|
|
goto out; |
|
|
|
pes->st->id = pes->pid; |
|
|
|
pes->st->program_num = h->id; |
|
|
|
pes->st->pmt_version = h->version; |
|
|
|
pes->st->pmt_stream_idx = i; |
|
|
|
} |
|
|
|
st = pes->st; |
|
|
|
} else if (is_pes_stream(stream_type, prog_reg_desc)) { |
|
|
@@ -2422,9 +2419,6 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len |
|
|
|
if (!st) |
|
|
|
goto out; |
|
|
|
st->id = pes->pid; |
|
|
|
st->program_num = h->id; |
|
|
|
st->pmt_version = h->version; |
|
|
|
st->pmt_stream_idx = i; |
|
|
|
} |
|
|
|
} else { |
|
|
|
int idx = ff_find_stream_index(ts->stream, pid); |
|
|
@@ -2439,9 +2433,6 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len |
|
|
|
if (!st) |
|
|
|
goto out; |
|
|
|
st->id = pid; |
|
|
|
st->program_num = h->id; |
|
|
|
st->pmt_version = h->version; |
|
|
|
st->pmt_stream_idx = i; |
|
|
|
st->codecpar->codec_type = AVMEDIA_TYPE_DATA; |
|
|
|
if (stream_type == 0x86 && prog_reg_desc == AV_RL32("CUEI")) { |
|
|
|
mpegts_find_stream_type(st, stream_type, SCTE_types); |
|
|
|