| 347 | } |
| 348 | |
| 349 | static char* channel_layout_name_from_mask(uint64_t mask, char *buf, size_t size) |
| 350 | { |
| 351 | AVChannelLayout layout = { 0 }; |
| 352 | if (av_channel_layout_from_mask(&layout, mask) == 0 && |
| 353 | av_channel_layout_describe(&layout, buf, size) > 0) |
| 354 | { |
| 355 | av_channel_layout_uninit(&layout); |
| 356 | return buf; |
| 357 | } |
| 358 | av_channel_layout_uninit(&layout); |
| 359 | return NULL; |
| 360 | } |
| 361 | |
| 362 | /*********************************************************************** |
| 363 | * hb_work_decavcodec_init |
no outgoing calls
no test coverage detected