Skip to content

Commit

Permalink
fix: fix typo (phoboslab/jsmpeg@5588646)
Browse files Browse the repository at this point in the history
  • Loading branch information
cycjimmy committed Mar 15, 2022
1 parent d5a6e65 commit d3cc3a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/mpeg1-wasm.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ export default class MPEG1WASM extends BaseDecoder {
!this.hasSequenceHeader &&
this.functions._mpeg1_decoder_has_sequence_header(this.decoder)
) {
this.loadSequnceHeader();
this.loadSequenceHeader();
}
}

loadSequnceHeader() {
loadSequenceHeader() {
this.hasSequenceHeader = true;
this.frameRate = this.functions._mpeg1_decoder_get_frame_rate(this.decoder);
this.codedSize = this.functions._mpeg1_decoder_get_coded_size(this.decoder);
Expand Down

0 comments on commit d3cc3a5

Please sign in to comment.