dont crash if pkt == NULL

This commit is contained in:
Andreas Öman 2007-11-21 12:43:16 +00:00
parent 080e5f36b5
commit 62e9fa7a36

View file

@ -369,6 +369,8 @@ ts_mux_packet(th_muxer_t *tm, int64_t pcr, uint8_t *outbuf, int maxblocks)
pkt = tms->tms_curpkt;
if(pkt == NULL)
continue;
/* Do we need to send a new PCR update? */