| 7028 | } |
| 7029 | |
| 7030 | void hb_chapter_dequeue(hb_chapter_queue_t *q, hb_buffer_t *buf) |
| 7031 | { |
| 7032 | hb_chapter_queue_item_t *item = hb_list_item(q->list_chapter, 0); |
| 7033 | if (item != NULL) |
| 7034 | { |
| 7035 | if (buf->s.start < item->start) |
| 7036 | { |
| 7037 | // Have not reached the next chapter yet. |
| 7038 | return; |
| 7039 | } |
| 7040 | |
| 7041 | // we're done with this chapter |
| 7042 | hb_list_rem(q->list_chapter, item); |
| 7043 | buf->s.new_chap = item->new_chap; |
| 7044 | free(item); |
| 7045 | } |
| 7046 | } |
| 7047 | |
| 7048 | int hb_get_bit_depth(int format) |
| 7049 | { |
no test coverage detected