diff --git a/library/src/main/java/com/opensource/svgaplayer/SVGAVideoEntity.kt b/library/src/main/java/com/opensource/svgaplayer/SVGAVideoEntity.kt index 542c05c6..a335f8a8 100644 --- a/library/src/main/java/com/opensource/svgaplayer/SVGAVideoEntity.kt +++ b/library/src/main/java/com/opensource/svgaplayer/SVGAVideoEntity.kt @@ -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()