From d07530267e381484e53d209ef9142baee89ce86b Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Sun, 9 Aug 2020 13:58:48 +0800 Subject: [PATCH] format: mark Context::nb_streams as public --- src/format/context/common.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format/context/common.rs b/src/format/context/common.rs index e937d8a..f0556e2 100644 --- a/src/format/context/common.rs +++ b/src/format/context/common.rs @@ -38,7 +38,7 @@ impl Context { impl Context { #[inline] - fn nb_streams(&self) -> u32 { + pub fn nb_streams(&self) -> u32 { unsafe { (*self.as_ptr()).nb_streams } }