MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / check_ts_sync

Function check_ts_sync

libhb/stream.c:512–516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510}
511
512static int check_ts_sync(const uint8_t *buf)
513{
514 // must have initial sync byte & a legal adaptation ctrl
515 return (buf[0] == 0x47) && (((buf[3] & 0x30) >> 4) > 0);
516}
517
518static int have_ts_sync(const uint8_t *buf, int psize, int count)
519{

Callers 1

have_ts_syncFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected