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

Function av_cpb_properties_alloc

libavcodec/utils.c:968–980  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

966}
967
968AVCPBProperties *av_cpb_properties_alloc(size_t *size)
969{
970 AVCPBProperties *props = av_mallocz(sizeof(AVCPBProperties));
971 if (!props)
972 return NULL;
973
974 if (size)
975 *size = sizeof(*props);
976
977 props->vbv_delay = UINT64_MAX;
978
979 return props;
980}
981
982int ff_alloc_timecode_sei(const AVFrame *frame, AVRational rate, size_t prefix_len,
983 void **data, size_t *sei_size)

Callers 3

ff_mpv_encode_pictureFunction · 0.85

Calls 1

av_malloczFunction · 0.50

Tested by

no test coverage detected