Skip to content

Commit

Permalink
feat(*): optimize getImageDataAtTime
Browse files Browse the repository at this point in the history
  • Loading branch information
stepancar committed Jan 8, 2024
1 parent a79f9b9 commit 95234c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backends/beamcoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ export class BeamcoderExtractor extends BaseExtractor implements Extractor {
// libav creates larger buffers by 16 bytes because it makes their internal code simpler.
// we have to trim a part at the end.

target.set(pixels.subarray(0, target.length));
target.set(pixels.slice(0, target.length));
}

async dispose() {
Expand Down

0 comments on commit 95234c3

Please sign in to comment.