Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
修复音频文件命名过短时,svga文件解析失败的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ss committed Apr 9, 2020
1 parent c6f87e9 commit 71d2b87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ class SVGAVideoEntity {
}
if (audiosData.count() > 0) {
audiosData.forEach {
val tmpFile = File.createTempFile(it.key, ".mp3")
val tmpFile = File.createTempFile(it.key + "_tmp", ".mp3")
val fos = FileOutputStream(tmpFile)
fos.write(it.value)
fos.flush()
Expand Down

0 comments on commit 71d2b87

Please sign in to comment.