MCPcopy Create free account
hub / github.com/IENT/YUView / resetDecoder

Method resetDecoder

YUViewLib/src/decoder/decoderVVDec.cpp:249–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249void decoderVVDec::resetDecoder()
250{
251 if (this->decoder != nullptr)
252 if (this->lib.vvdec_decoder_close(decoder) != VVDEC_OK)
253 return setError("Reset: Freeing the decoder failed.");
254
255 decoderBase::resetDecoder();
256 this->decoder = nullptr;
257
258 this->allocateNewDecoder();
259}
260
261void decoderVVDec::allocateNewDecoder()
262{

Callers

nothing calls this directly

Calls 1

allocateNewDecoderMethod · 0.95

Tested by

no test coverage detected