Skip to content

Commit

Permalink
Tpyo
Browse files Browse the repository at this point in the history
  • Loading branch information
Yahweasel committed Dec 12, 2024
1 parent 3b4662a commit 131ec70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libav.in.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
return [dv.getInt32(0, true), dv.getInt32(4, true)];
};

libavStatics.ff_channel_layout(frame) {
libavStatics.ff_channel_layout = function(frame) {
if (frame.channel_layout)
return frame.channel_layout;
else if (frame.channels && frame.channels !== 1)
Expand All @@ -130,7 +130,7 @@
return 4; // Mono
};

libavStatics.ff_channels(frame) {
libavStatics.ff_channels = function(frame) {
if (frame.channels) {
return frame.channels;
} else if (frame.channel_layout) {
Expand Down

0 comments on commit 131ec70

Please sign in to comment.