Skip to content

🎥 Make videos programmatically with React

surface error

Jonny Burger6db11807ca58
diff --git a/packages/renderer/rust/ffmpeg.rs b/packages/renderer/rust/ffmpeg.rs
index 632c8fa39d..ac31c4823b 100644
--- a/packages/renderer/rust/ffmpeg.rs
+++ b/packages/renderer/rust/ffmpeg.rs
@@ -302,7 +302,7 @@ pub fn extract_audio(input_path: &str, output_path: &str) -> Result<(), ErrorWit
}
}
- octx.write_header()?;
+ octx.write_header().unwrap();
loop {
match ictx.get_next_packet() {