From c81c2119b34c1656ea722bd50f741f7cbc8ac137 Mon Sep 17 00:00:00 2001 From: Paul Berberian Date: Thu, 29 Aug 2024 22:02:56 +0200 Subject: [PATCH] Fix formatting issue --- src/experimental/tools/DummyMediaElement/mse.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/experimental/tools/DummyMediaElement/mse.ts b/src/experimental/tools/DummyMediaElement/mse.ts index fb8315a227..3e33499166 100644 --- a/src/experimental/tools/DummyMediaElement/mse.ts +++ b/src/experimental/tools/DummyMediaElement/mse.ts @@ -501,7 +501,7 @@ export class DummySourceBuffer this._lastKeyId = keyId; const completeChunks: Uint8Array[] = - otherChunks === null ? [] : extractCompleteChunks(otherChunks)[0] ?? []; + otherChunks === null ? [] : (extractCompleteChunks(otherChunks)[0] ?? []); const chunks: Uint8Array[] = initSegment === null ? completeChunks : [initSegment, ...completeChunks];