diff --git a/src/util/dictionary/owned.rs b/src/util/dictionary/owned.rs index e5fbbad..ff0238d 100644 --- a/src/util/dictionary/owned.rs +++ b/src/util/dictionary/owned.rs @@ -9,6 +9,12 @@ pub struct Owned<'a> { inner: mutable::Ref<'a>, } +impl<'a> Default for Owned<'a> { + fn default() -> Self { + Self::new() + } +} + impl<'a> Owned<'a> { pub unsafe fn own(ptr: *mut AVDictionary) -> Self { Owned { inner: mutable::Ref::wrap(ptr) }