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

Function av_buffer_unref

libavutil/buffer.c:139–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139void av_buffer_unref(AVBufferRef **buf)
140{
141 if (!buf || !*buf)
142 return;
143
144 buffer_replace(buf, NULL);
145}
146
147int av_buffer_is_writable(const AVBufferRef *buf)
148{

Callers 15

xcbgrab_frame_shmFunction · 0.85
kmsgrab_read_closeFunction · 0.85
LLVMFuzzerTestOneInputFunction · 0.85
ebml_read_binaryFunction · 0.85
ebml_freeFunction · 0.85
ifFunction · 0.85
mov_parse_exif_itemFunction · 0.85
read_close_vsFunction · 0.85
free_vsframe_refFunction · 0.85
read_packet_vsFunction · 0.85
avi_read_closeFunction · 0.85
mpegts_close_filterFunction · 0.85

Calls 1

buffer_replaceFunction · 0.85

Tested by 2

test_derivationFunction · 0.68
test_deviceFunction · 0.68