Skip to content

Commit a94ae0e

Browse files
committed
style: address clippy warnings
1 parent 8cb84c7 commit a94ae0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ffmpeg.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ pub fn create_thumbnails(input: &str, output: &str) {
6868
pub fn create_hls_encoding(input: &str, output: &str) {
6969
println!("\npub create_hls_encoding");
7070

71-
if fs::metadata(&output).is_err() {
72-
fs::create_dir_all(&output).unwrap();
71+
if fs::metadata(output).is_err() {
72+
fs::create_dir_all(output).unwrap();
7373
}
7474

7575
// TODO: Sub add paths

0 commit comments

Comments
 (0)