MCPcopy Create free account
hub / github.com/Motion-Project/motion / my_frame_alloc

Function my_frame_alloc

src/util.c:50–59  ·  view source on GitHub ↗

/

Source from the content-addressed store, hash-verified

48}
49/*********************************************/
50AVFrame *my_frame_alloc(void)
51{
52 AVFrame *pic;
53 #if ( MYFFVER >= 55000)
54 pic = av_frame_alloc();
55 #else
56 pic = avcodec_alloc_frame();
57 #endif
58 return pic;
59}
60/*********************************************/
61void my_frame_free(AVFrame *frame)
62{

Callers 6

ffmpeg_set_pictureFunction · 0.85
netcam_decode_vaapiFunction · 0.85
netcam_decode_cudaFunction · 0.85
netcam_decode_drmFunction · 0.85
netcam_rtsp_open_swsFunction · 0.85
netcam_rtsp_open_contextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected