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

Function avcodec_parameters_alloc

libavcodec/codec_par.c:57–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57AVCodecParameters *avcodec_parameters_alloc(void)
58{
59 AVCodecParameters *par = av_mallocz(sizeof(*par));
60
61 if (!par)
62 return NULL;
63 codec_parameters_reset(par);
64 return par;
65}
66
67void avcodec_parameters_free(AVCodecParameters **ppar)
68{

Callers 15

avformat_new_streamFunction · 0.85
audio_element_obuFunction · 0.85
ff_mov_init_hintingFunction · 0.85
rtp_read_headerFunction · 0.85
codec_closeFunction · 0.85
parameters_from_contextFunction · 0.85
flv_read_packetFunction · 0.85
mov_create_chapter_trackFunction · 0.85
encode_frameFunction · 0.85
frame_data_ensureFunction · 0.85
ost_addFunction · 0.85

Calls 2

codec_parameters_resetFunction · 0.85
av_malloczFunction · 0.50

Tested by

no test coverage detected