Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ldm0 committed Aug 25, 2024
1 parent 2bba32d commit 162ade0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/avformat/avformat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ impl AVFormatContextInput {
/// all streams.
///
/// - `url`: url of the stream to open.
/// - `format`: input format hint. If `format` is some, this parameter forces
/// a specific input format.
/// - `format`: input format hint. If `format` is some, this parameter forces a specific input format.
/// - `options`: A dictionary filled with AVFormatContext and demuxer-private options.
/// On return this parameter will be destroyed and replaced with a dict containing
/// options that were not found.
Expand Down
1 change: 1 addition & 0 deletions src/swresample/swresample.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ impl SwrContext {
/// - if it's the least common multiple of in_sample_rate and
/// out_sample_rate then an exact rounding-free delay will be
/// returned
///
/// returns the delay in `1 / base` base units.
pub fn get_delay(&self, base: usize) -> usize {
unsafe { ffi::swr_get_delay(self.as_ptr() as *mut _, base.try_into().unwrap()) }
Expand Down

0 comments on commit 162ade0

Please sign in to comment.