Skip to content

Commit

Permalink
Copy the extradata *into the codecpar*
Browse files Browse the repository at this point in the history
  • Loading branch information
Yahweasel committed Sep 19, 2024
1 parent dc7a3f5 commit 195f7af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions post.in.js
Original file line number Diff line number Diff line change
Expand Up @@ -2412,8 +2412,8 @@ var ff_copyin_codecpar = Module.ff_copyin_codecpar = function(codecparPtr, codec
var ff_copyin_codecpar_extradata = Module.ff_copyin_codecpar_extradata = function(codecparPtr, extradata) {
var extradataPtr = malloc(extradata.length);
copyin_u8(extradataPtr, extradata);
AVCodecParameters_extradata_s(extradataPtr);
AVCodecParameters_extradata_size_s(extradata.length);
AVCodecParameters_extradata_s(codecparPtr, extradataPtr);
AVCodecParameters_extradata_size_s(codecparPtr, extradata.length);
};

/**
Expand Down

0 comments on commit 195f7af

Please sign in to comment.