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

Function avcodec_alloc_frame

libavcodec/utils.c:452–460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450}
451
452AVFrame *avcodec_alloc_frame(void){
453 AVFrame *pic= av_malloc(sizeof(AVFrame));
454
455 if(pic==NULL) return NULL;
456
457 avcodec_get_frame_defaults(pic);
458
459 return pic;
460}
461
462int attribute_align_arg avcodec_open(AVCodecContext *avctx, AVCodec *codec)
463{

Callers 15

input_initFunction · 0.85
video_threadFunction · 0.85
alloc_pictureFunction · 0.85
AC3_encode_initFunction · 0.85
encode_initFunction · 0.85
MPA_encode_initFunction · 0.85
encode_initFunction · 0.85
Faac_encode_initFunction · 0.85
sonic_encode_initFunction · 0.85
decode_initFunction · 0.85
decode_initFunction · 0.85
adx_encode_initFunction · 0.85

Calls 2

av_mallocFunction · 0.85

Tested by

no test coverage detected