diff --git a/av_metrics_tool/src/main.rs b/av_metrics_tool/src/main.rs index 85690b9..f270e37 100644 --- a/av_metrics_tool/src/main.rs +++ b/av_metrics_tool/src/main.rs @@ -12,7 +12,9 @@ use indicatif::{ProgressBar, ProgressStyle}; use serde::Serialize; use std::error::Error; use std::fs::File; -use std::io::{BufReader, BufWriter, Stdout, Write}; +use std::io::{BufWriter, Stdout, Write}; +#[cfg(not(feature = "ffmpeg"))] +use std::io::BufReader; use std::path::Path; fn main() -> Result<(), String> {