From 863450a01e909506fdb8795bd8738fd0d4eb939a Mon Sep 17 00:00:00 2001 From: wangyupeng Date: Thu, 23 May 2019 17:22:45 +0800 Subject: [PATCH] U-update --- src/services/ffmpeg/ffmpeg.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/services/ffmpeg/ffmpeg.js b/src/services/ffmpeg/ffmpeg.js index 282ee57..c8117ea 100644 --- a/src/services/ffmpeg/ffmpeg.js +++ b/src/services/ffmpeg/ffmpeg.js @@ -65,7 +65,6 @@ export const convertAudioToMP3 = (sourceFilePath, targetFolder, targetFormat, op targetFileFullName, ] - } else if (targetFormat === 'AAC') { ffmpegOption = [ '-y', @@ -81,7 +80,6 @@ export const convertAudioToMP3 = (sourceFilePath, targetFolder, targetFormat, op targetFileFullName, ] - } else if (targetFormat === 'FLAC') { ffmpegOption = [ '-y', @@ -94,7 +92,6 @@ export const convertAudioToMP3 = (sourceFilePath, targetFolder, targetFormat, op targetFileFullName, ] - } else if (targetFormat === 'WAV') { ffmpegOption = [ '-y', @@ -104,7 +101,6 @@ export const convertAudioToMP3 = (sourceFilePath, targetFolder, targetFormat, op targetFileFullName, ] - } else { ffmpegOption = [ '-y',