chore: update dependencies

This commit is contained in:
Simon Chan 2023-07-07 18:30:13 +08:00
parent 2abec924e8
commit 433f9b986f
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD
150 changed files with 1690 additions and 1507 deletions

View file

@ -195,7 +195,7 @@ export class WebCodecsDecoder implements ScrcpyVideoDecoder {
let data: Uint8Array;
if (this._config !== undefined) {
data = new Uint8Array(
this._config.byteLength + packet.data.byteLength
this._config.byteLength + packet.data.byteLength,
);
data.set(this._config, 0);
data.set(packet.data, this._config.byteLength);
@ -210,7 +210,7 @@ export class WebCodecsDecoder implements ScrcpyVideoDecoder {
type: packet.keyframe === false ? "delta" : "key",
timestamp: 0,
data,
})
}),
);
}