MCPcopy Create free account
hub / github.com/Recordscript/recordscript / drop

Method drop

libs/scrap/src/common/aom.rs:425–432  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

423
424impl Drop for AomEncoder {
425 fn drop(&mut self) {
426 unsafe {
427 let result = aom_codec_destroy(&mut self.ctx);
428 if result != aom_codec_err_t::AOM_CODEC_OK {
429 panic!("failed to destroy aom codec");
430 }
431 }
432 }
433}
434
435pub struct EncodeFrames<'a> {

Callers

nothing calls this directly

Calls 1

is_nullMethod · 0.45

Tested by

no test coverage detected