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

Function index_of_pid

libhb/stream.c:359–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357}
358
359static int index_of_pid(hb_stream_t *stream, int pid)
360{
361 int i;
362
363 for ( i = 0; i < stream->ts.count; ++i )
364 {
365 if ( pid == stream->ts.list[i].pid )
366 {
367 return i;
368 }
369 }
370
371 return -1;
372}
373
374static int index_of_ps_stream(hb_stream_t *stream, int id, int sid)
375{

Callers 1

hb_ts_decode_pktFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected