mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Update dependencies and version
This commit is contained in:
parent
177ceb1920
commit
74aaed4e7a
4 changed files with 19 additions and 20 deletions
|
|
@ -960,8 +960,7 @@ impl Downloader {
|
|||
let tempfile = tempfile(".ass")?;
|
||||
let (mut file, path) = tempfile.into_parts();
|
||||
|
||||
let mut buf = vec![];
|
||||
subtitle.write_to(&mut buf).await?;
|
||||
let mut buf = subtitle.data().await?;
|
||||
fix_subtitles(&mut buf, max_length);
|
||||
|
||||
file.write_all(buf.as_slice())?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue