| 344 | } |
| 345 | |
| 346 | static 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 | |
| 359 | static int index_of_pid(hb_stream_t *stream, int pid) |
| 360 | { |
no test coverage detected