MCPcopy Create free account
hub / github.com/RetroShare/RetroShare / get_frame_defaults

Function get_frame_defaults

plugins/VOIP/gui/VideoProcessor.cpp:97–108  ·  view source on GitHub ↗

Since https://github.com/FFmpeg/FFmpeg/commit/7ecc2d403ce5c7b6ea3b1f368dccefd105209c7e

Source from the content-addressed store, hash-verified

95#if (LIBAVUTIL_VERSION_MAJOR < 57) || ((LIBAVUTIL_VERSION_MAJOR == 57) && (LIBAVUTIL_VERSION_MINOR < 52))
96//Since https://github.com/FFmpeg/FFmpeg/commit/7ecc2d403ce5c7b6ea3b1f368dccefd105209c7e
97static void get_frame_defaults(AVFrame *frame)
98{
99 if (frame->extended_data != frame->data) {
100 av_freep(&frame->extended_data);
101 return;
102 }
103
104 frame->extended_data = NULL;
105 get_frame_defaults(frame);
106
107 return;
108}
109
110AVFrame *av_frame_alloc(void)
111{

Callers 1

av_frame_allocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected