MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / av_opt_set_chlayout

Function av_opt_set_chlayout

libavutil/opt.c:1000–1013  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

998}
999
1000int av_opt_set_chlayout(void *obj, const char *name,
1001 const AVChannelLayout *channel_layout,
1002 int search_flags)
1003{
1004 AVChannelLayout *dst;
1005 int ret;
1006
1007 ret = opt_set_init(obj, name, search_flags, AV_OPT_TYPE_CHLAYOUT, NULL, NULL,
1008 (void**)&dst);
1009 if (ret < 0)
1010 return ret;
1011
1012 return av_channel_layout_copy(dst, channel_layout);
1013}
1014
1015static void format_duration(char *buf, size_t size, int64_t d)
1016{

Callers 7

swr_config_frameFunction · 0.85
swr_alloc_set_opts2Function · 0.85
opus_decode_initFunction · 0.85
config_propsFunction · 0.85
config_audio_outputFunction · 0.85
open_audioFunction · 0.85
mainFunction · 0.85

Calls 1

av_channel_layout_copyFunction · 0.85

Tested by

no test coverage detected