Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tsfix: don't use freed packet (regression), fixes #3930
  • Loading branch information
perexg committed Aug 13, 2016
1 parent e3e8a79 commit 9a0c876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plumbing/tsfix.c
Expand Up @@ -378,13 +378,13 @@ recover_pts(tsfix_t *tf, tfstream_t *tfs, th_pkt_t *pkt)
if (total < 50) {
/* return packet back to tf_ptsq */
pktref_insert_head(&tf->tf_ptsq, pkt);
return; /* not arrived yet, wait */
} else {
tvhtrace("tsfix", "%-12s packet drop PTS %"PRId64", DTS %"PRId64,
streaming_component_type2txt(tfs->tfs_type),
pkt->pkt_pts, pkt->pkt_dts);
pkt_ref_dec(pkt);
}
return; /* not arrived yet or invalid, wait */
}
}
break;
Expand Down

0 comments on commit 9a0c876

Please sign in to comment.