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

Function ff_thread_release_ext_buffer

libavcodec/pthread_frame.c:1073–1079  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1071}
1072
1073void ff_thread_release_ext_buffer(ThreadFrame *f)
1074{
1075 av_refstruct_unref(&f->progress);
1076 f->owner[0] = f->owner[1] = NULL;
1077 if (f->f)
1078 av_frame_unref(f->f);
1079}
1080
1081av_cold enum ThreadingStatus ff_thread_sync_ref(AVCodecContext *avctx, size_t offset)
1082{

Callers

nothing calls this directly

Calls 2

av_refstruct_unrefFunction · 0.85
av_frame_unrefFunction · 0.85

Tested by

no test coverage detected