MCPcopy Create free account
hub / github.com/FFMS/ffms2 / SwrFreeWrapper

Class SwrFreeWrapper

src/core/audiosource.h:83–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 bool NeedsResample = false;
82
83 struct SwrFreeWrapper {
84 void operator()(SwrContext *c) const {
85 swr_free(&c);
86 }
87 };
88
89 typedef std::unique_ptr<SwrContext, SwrFreeWrapper> FFResampleContext;
90 FFResampleContext ResampleContext;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected