MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / channel_layout_name_from_mask

Function channel_layout_name_from_mask

libhb/decavcodec.c:349–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347}
348
349static 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

Callers 2

decavcodecaInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected