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

Function deinit

libavformat/chromaprint.c:53–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51} ChromaprintMuxContext;
52
53static void deinit(AVFormatContext *s)
54{
55 ChromaprintMuxContext *const cpr = s->priv_data;
56
57 if (cpr->ctx) {
58 ff_mutex_lock(&chromaprint_mutex);
59 chromaprint_free(cpr->ctx);
60 ff_mutex_unlock(&chromaprint_mutex);
61 }
62}
63
64static av_cold int init(AVFormatContext *s)
65{

Callers

nothing calls this directly

Calls 2

ff_mutex_lockFunction · 0.85
ff_mutex_unlockFunction · 0.85

Tested by

no test coverage detected