| 4408 | } |
| 4409 | |
| 4410 | void hb_data_close(hb_data_t **data) |
| 4411 | { |
| 4412 | if (data == NULL || *data == NULL) |
| 4413 | { |
| 4414 | return; |
| 4415 | } |
| 4416 | |
| 4417 | if ((*data)->bytes) |
| 4418 | { |
| 4419 | av_freep(&(*data)->bytes); |
| 4420 | } |
| 4421 | |
| 4422 | av_free(*data); |
| 4423 | *data = NULL; |
| 4424 | } |
| 4425 | |
| 4426 | hb_data_t * hb_data_dup(const hb_data_t *src) |
| 4427 | { |
no outgoing calls
no test coverage detected