From 83f46864b2d28451b5bc646ca9acbce594941353 Mon Sep 17 00:00:00 2001 From: dumbmoron <log@riseup.net> Date: Mon, 12 Aug 2024 20:03:30 +0000 Subject: [PATCH] web/libav: properly instantiate libav property --- web/src/lib/libav.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/lib/libav.ts b/web/src/lib/libav.ts index 824e87b9..e363866f 100644 --- a/web/src/lib/libav.ts +++ b/web/src/lib/libav.ts @@ -3,10 +3,11 @@ import LibAV, { type LibAV as LibAVInstance } from "@imput/libav.js-remux-cli"; import type { FileInfo, RenderParams } from "./types/libav"; export default class LibAVWrapper { - libav!: LibAVInstance | null; + libav: LibAVInstance | null; concurrency: number; constructor() { + this.libav = null; this.concurrency = Math.min(4, navigator.hardwareConcurrency); }