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

Function av_buffer_allocz

libavutil/buffer.c:93–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93AVBufferRef *av_buffer_allocz(size_t size)
94{
95 AVBufferRef *ret = av_buffer_alloc(size);
96 if (!ret)
97 return NULL;
98
99 memset(ret->data, 0, size);
100 return ret;
101}
102
103AVBufferRef *av_buffer_ref(const AVBufferRef *buf)
104{

Callers 6

fuzz_video_get_bufferFunction · 0.85
decoder_decode_frameFunction · 0.85
read_interval_packetsFunction · 0.85
qsv_init_opaque_allocFunction · 0.85
FUNC(user_data)Function · 0.85
FUNC(extra_information)Function · 0.85

Calls 1

av_buffer_allocFunction · 0.85

Tested by

no test coverage detected