when the file was first opened we made entries for all the audio elementary * streams we found in it. Streams that were later found during the preview scan * now have an audio codec, type, rate, etc., associated with them. At the end * of the scan we delete all the audio entries that weren't found by the scan * or don't have a format we support. This routine deletes audio entry 'indx' * by se
| 725 | * move any of the entries since the index of the entry is used as the id |
| 726 | * of the media stream for HB. */ |
| 727 | static void hb_stream_delete_ts_entry(hb_stream_t *stream, int indx) |
| 728 | { |
| 729 | if ( stream->ts.list[indx].pid > 0 ) |
| 730 | { |
| 731 | stream->ts.list[indx].pid = -stream->ts.list[indx].pid; |
| 732 | } |
| 733 | } |
| 734 | |
| 735 | static int hb_stream_try_delete_ts_entry(hb_stream_t *stream, int indx) |
| 736 | { |
no outgoing calls
no test coverage detected