This commit is contained in:
nixo 2019-05-21 19:17:30 +02:00
parent 79160856f8
commit 80e022fefb
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ function giveconverted(file, bitrate, format)
mime = suffix in keys(Mux.mimetypes) ? Mux.mimetypes[suffix] : suffix
headers["Content-Type"] = mime
# headers["Content-Length"] = string(length(data))
return Dict(:body => read(iodata), :headers => headers)
return Dict(:body => take!(iodata), :headers => headers)
end
function convert(infile; bitrate = 64, format = "oga")