Skip to content

Commit 4ec580b

Browse files
author
houssemko
committed
Fix formatting per CI (rustfmt chain collapse)
1 parent 525983e commit 4ec580b

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

‎src/video.rs‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -722,14 +722,12 @@ pub async fn run_video_download(
722722
// manifest records the effective single-part mode so retries agree.
723723
let mut audio_only = job.audio_only;
724724
if audio_sel.is_none() {
725-
let muxed = video_sel
726-
.take_if(|v| v.has_audio)
727-
.or_else(|| {
728-
video
729-
.best_audio_video_format()
730-
.ok()
731-
.and_then(|m| StreamSel::from_format(m).ok())
732-
});
725+
let muxed = video_sel.take_if(|v| v.has_audio).or_else(|| {
726+
video
727+
.best_audio_video_format()
728+
.ok()
729+
.and_then(|m| StreamSel::from_format(m).ok())
730+
});
733731
if let Some(m) = muxed {
734732
audio_sel = Some(m);
735733
audio_only = true;

0 commit comments

Comments
 (0)