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

Function swr_alloc

libswresample/options.c:148–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148av_cold struct SwrContext *swr_alloc(void){
149 SwrContext *s= av_mallocz(sizeof(SwrContext));
150 if(s){
151 s->av_class= &av_class;
152 av_opt_set_defaults(s);
153 s->firstpts = AV_NOPTS_VALUE;
154 }
155 return s;
156}

Callers 6

swr_alloc_set_opts2Function · 0.85
opus_decode_initFunction · 0.85
preinitFunction · 0.85
config_audio_outputFunction · 0.85
open_audioFunction · 0.85
mainFunction · 0.85

Calls 2

av_opt_set_defaultsFunction · 0.85
av_malloczFunction · 0.50

Tested by

no test coverage detected