aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/checker.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/checker.ts')
-rw-r--r--server/initializers/checker.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/checker.ts b/server/initializers/checker.ts
index fb69e05fc..e4ca26f9c 100644
--- a/server/initializers/checker.ts
+++ b/server/initializers/checker.ts
@@ -45,7 +45,7 @@ function checkFFmpeg () {
45 if (CONFIG.TRANSCODING.ENABLED === false) return undefined 45 if (CONFIG.TRANSCODING.ENABLED === false) return undefined
46 46
47 const canEncode = [ 'libx264' ] 47 const canEncode = [ 'libx264' ]
48 canEncode.forEach(function (codec) { 48 canEncode.forEach(codec => {
49 if (codecs[codec] === undefined) { 49 if (codecs[codec] === undefined) {
50 throw new Error('Unknown codec ' + codec + ' in FFmpeg.') 50 throw new Error('Unknown codec ' + codec + ' in FFmpeg.')
51 } 51 }