From ae9590a8df0b600315cfc03b0b77c05c12f95beb Mon Sep 17 00:00:00 2001 From: Alexandre Courbot Date: Tue, 13 Feb 2024 17:03:37 +0900 Subject: [PATCH] codec/h264: adjust methods visibility --- src/codec/h264/dpb.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/codec/h264/dpb.rs b/src/codec/h264/dpb.rs index 3339dc03..635f986e 100644 --- a/src/codec/h264/dpb.rs +++ b/src/codec/h264/dpb.rs @@ -89,13 +89,13 @@ pub enum MmcoError { impl Dpb { /// Returns an iterator over the underlying H264 pictures stored in the /// DPB. - pub fn pictures(&self) -> impl Iterator> { + fn pictures(&self) -> impl Iterator> { self.entries.iter().map(|h| h.pic.borrow()) } /// Returns a mutable iterator over the underlying H264 pictures stored in /// the DPB. - pub fn pictures_mut(&mut self) -> impl Iterator> { + fn pictures_mut(&mut self) -> impl Iterator> { self.entries.iter().map(|h| h.pic.borrow_mut()) }