kopia lustrzana https://github.com/F5OEO/tstools
Fix pts_diff in pcapreport to allow signed answer
Bug introduced in my previous 33-bit wrap fixmaster
rodzic
be0e65f5c6
commit
d796310285
|
@ -380,7 +380,7 @@ static int digest_times_seek(void *handle, offset_t val)
|
|||
static int64_t
|
||||
pts_diff(const uint64_t a, const uint64_t b)
|
||||
{
|
||||
return ((a - b) << 31) >> 31;
|
||||
return ((int64_t)(a - b) << 31) >> 31;
|
||||
}
|
||||
|
||||
|
||||
|
@ -506,7 +506,7 @@ static int digest_times(pcapreport_ctx_t * const ctx,
|
|||
// *** If this happens often then fix to track each Pid
|
||||
if (!st->multiple_pcr_pids)
|
||||
{
|
||||
fprint_msg("!%d! Multiple pids detected: pids: %d,%d,...\n",
|
||||
fprint_msg("!%d! Multiple PCR pids detected: pids: %d,%d,...\n",
|
||||
st->stream_no, st->pcr_pid, pid);
|
||||
}
|
||||
st->multiple_pcr_pids = TRUE;
|
||||
|
|
Ładowanie…
Reference in New Issue