Skip to content

Commit fd3e948

Browse files
committed
Fix typo
1 parent 53ad454 commit fd3e948

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chrome/player/players/mp4/MP4Player.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ export default class MP4Player extends EventEmitter {
8383
if (this.currentAudioTrack !== null) {
8484
const audioTrack = this.metaData.audioTracks[this.currentAudioTrack];
8585
if (audioTrack) {
86-
const fixedCodec = audioTrack.codec;
86+
let fixedCodec = audioTrack.codec;
8787
if (fixedCodec === 'Opus') {
88-
fixedCode = 'opus';
88+
fixedCodec = 'opus';
8989
}
9090
const audioCodec = 'audio/mp4; codecs=\"' + fixedCodec + '\"';
9191
this.audioSourceBuffer = new SourceBufferWrapper(this.mediaSource, audioCodec);

0 commit comments

Comments
 (0)