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

Function av_opt_set

libavutil/opt.c:835–847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

833}
834
835int av_opt_set(void *obj, const char *name, const char *val, int search_flags)
836{
837 void *dst, *target_obj;
838 const AVOption *o;
839 int ret;
840
841 ret = opt_set_init(obj, name, search_flags, 0, &target_obj, &o, &dst);
842 if (ret < 0)
843 return ret;
844
845 return ((o->type & AV_OPT_TYPE_FLAG_ARRAY) ?
846 opt_set_array : opt_set_elem)(obj, target_obj, o, val, dst);
847}
848
849#define OPT_EVAL_NUMBER(name, opttype, vartype) \
850int av_opt_eval_ ## name(void *obj, const AVOption *o, \

Callers 15

LLVMFuzzerTestOneInputFunction · 0.85
ff_rtsp_connectFunction · 0.85
hls_startFunction · 0.85
hls_write_packetFunction · 0.85
url_alloc_for_protocolFunction · 0.85
store_icyFunction · 0.85
dump_stream_formatFunction · 0.85
dump_stream_groupFunction · 0.85
segment_startFunction · 0.85
rtmp_http_openFunction · 0.85
mmsh_open_internalFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68