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

Function index_of_id

libhb/stream.c:346–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344}
345
346static int index_of_id(hb_stream_t *stream, int id)
347{
348 int i;
349
350 for ( i = 0; i < stream->pes.count; ++i )
351 {
352 if ( id == get_id( &stream->pes.list[i] ) )
353 return i;
354 }
355
356 return -1;
357}
358
359static int index_of_pid(hb_stream_t *stream, int pid)
360{

Callers 2

hb_ts_resolve_pid_typesFunction · 0.85

Calls 1

get_idFunction · 0.85

Tested by

no test coverage detected