Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FFmpeg/FFmpeg
/ av_frame_alloc
Function
av_frame_alloc
libavutil/frame.c:52–62 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
50
}
51
52
AVFrame *av_frame_alloc(void)
53
{
54
AVFrame *frame = av_malloc(sizeof(*frame));
55
56
if (!frame)
57
return NULL;
58
59
get_frame_defaults(frame);
60
61
return frame;
62
}
63
64
void av_frame_free(AVFrame **frame)
65
{
Callers
15
lavfi_read_packet
Function · 0.85
kmsgrab_read_packet
Function · 0.85
LLVMFuzzerTestOneInput
Function · 0.85
main
Function · 0.85
LLVMFuzzerTestOneInput
Function · 0.85
main
Function · 0.85
main
Function · 0.85
ds_open
Function · 0.85
try_decode_frame
Function · 0.85
read_packet_vs
Function · 0.85
vt_transfer_data_from
Function · 0.85
vt_transfer_data_to
Function · 0.85
Calls
2
get_frame_defaults
Function · 0.85
av_malloc
Function · 0.70
Tested by
12
main
Function · 0.68
main
Function · 0.68
run_test
Function · 0.68
main
Function · 0.68
main
Function · 0.68
main
Function · 0.68
video_decode
Function · 0.68
seek_test
Function · 0.68
sender_thread
Function · 0.68
dump_stream_meta
Function · 0.68
run_test
Function · 0.68
video_decode_example
Function · 0.68