|
@@ -191,7 +191,7 @@ int process_pat(INPUT *r, uint16_t pid, uint8_t *ts_packet) {
|
191
|
191
|
ts_pat_free(&s->last_pat);
|
192
|
192
|
s->last_pat = ts_pat_alloc();
|
193
|
193
|
}
|
194
|
|
- s->last_pat = ts_pat_push_packet(s->last_pat, ts_packet);
|
|
194
|
+ s->last_pat = ts_pat_push_packet(s->last_pat, ts_packet);
|
195
|
195
|
if (s->pat->initialized) {
|
196
|
196
|
// PMT pid is still unknown
|
197
|
197
|
if (!s->pmt_pid) {
|
|
@@ -253,7 +253,7 @@ int process_pmt(INPUT *r, uint16_t pid, uint8_t *ts_packet) {
|
253
|
253
|
s->last_pmt = ts_pmt_alloc();
|
254
|
254
|
}
|
255
|
255
|
|
256
|
|
- s->last_pmt = ts_pmt_push_packet(s->last_pmt, ts_packet);
|
|
256
|
+ s->last_pmt = ts_pmt_push_packet(s->last_pmt, ts_packet);
|
257
|
257
|
|
258
|
258
|
if (s->pmt->initialized) {
|
259
|
259
|
if (!s->pmt_rewritten || !s->pmt_rewritten->initialized) {
|