| 590 | } |
| 591 | |
| 592 | void hb_buffer_wipe_side_data(hb_buffer_t *buf) |
| 593 | { |
| 594 | for (int i = 0; i < buf->nb_side_data; i++) |
| 595 | { |
| 596 | free_side_data((AVFrameSideData **)&buf->side_data[i]); |
| 597 | } |
| 598 | buf->nb_side_data = 0; |
| 599 | |
| 600 | av_freep(&buf->side_data); |
| 601 | } |
| 602 | |
| 603 | void hb_buffer_copy_side_data(hb_buffer_t *dst, const hb_buffer_t *src) |
| 604 | { |
no test coverage detected