tsfile: fix bug in packet reception spotted by _Dweller.
This commit is contained in:
parent
06b042e0b3
commit
a88c9dc425
1 changed files with 2 additions and 1 deletions
|
@ -125,7 +125,8 @@ tsfile_input_thread ( void *aux )
|
|||
/* Process */
|
||||
if (c >= 0) {
|
||||
pcr = PTS_UNSET;
|
||||
pos = mpegts_input_recv_packets(mi, mmi, tsb, c, &pcr, &tmi->mmi_tsfile_pcr_pid, "tsfile");
|
||||
pos = mpegts_input_recv_packets(mi, mmi, tsb, c+pos, &pcr,
|
||||
&tmi->mmi_tsfile_pcr_pid, "tsfile");
|
||||
|
||||
/* Delay */
|
||||
if (pcr != PTS_UNSET) {
|
||||
|
|
Loading…
Add table
Reference in a new issue