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

Function frame_queue_destroy

fftools/ffplay.c:712–722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

710}
711
712static void frame_queue_destroy(FrameQueue *f)
713{
714 int i;
715 for (i = 0; i < f->max_size; i++) {
716 Frame *vp = &f->queue[i];
717 frame_queue_unref_item(vp);
718 av_frame_free(&vp->frame);
719 }
720 SDL_DestroyMutex(f->mutex);
721 SDL_DestroyCond(f->cond);
722}
723
724static void frame_queue_signal(FrameQueue *f)
725{

Callers 1

stream_closeFunction · 0.85

Calls 2

frame_queue_unref_itemFunction · 0.85
av_frame_freeFunction · 0.85

Tested by

no test coverage detected