Don't pass AsRef<T>
params by reference (#84)
This commit is contained in:
@ -72,7 +72,7 @@ struct Transcoder {
|
||||
fn transcoder<P: AsRef<Path>>(
|
||||
ictx: &mut format::context::Input,
|
||||
octx: &mut format::context::Output,
|
||||
path: &P,
|
||||
path: P,
|
||||
filter_spec: &str,
|
||||
) -> Result<Transcoder, ffmpeg::Error> {
|
||||
let input = ictx
|
||||
|
Reference in New Issue
Block a user