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

Function av_buffer_is_writable

libavutil/buffer.c:147–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147int av_buffer_is_writable(const AVBufferRef *buf)
148{
149 if (buf->buffer->flags & AV_BUFFER_FLAG_READONLY)
150 return 0;
151
152 return atomic_load(&buf->buffer->refcount) == 1;
153}
154
155void *av_buffer_get_opaque(const AVBufferRef *buf)
156{

Callers 8

av_frame_is_writableFunction · 0.85
av_buffer_make_writableFunction · 0.85
av_buffer_reallocFunction · 0.85
frame_data_ensureFunction · 0.85
av_grow_packetFunction · 0.85
av_packet_make_writableFunction · 0.85
alloc_rbsp_bufferFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected