Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 996d8d43 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "MediaMuxer: Create FullBox for APV" into main am: bea0da0d

parents 2e1a6010 bea0da0d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5128,6 +5128,9 @@ void MPEG4Writer::Track::writeApvcBox() {
    CHECK_GE(mCodecSpecificDataSize, 4u);

    mOwner->beginBox("apvC");
    // apvC extends FullBox and hence the need to write first
    // 4 bytes here when compared with av1C which extends Box.
    mOwner->writeInt32(0);  // version=0, flags=0
    mOwner->write(mCodecSpecificData, mCodecSpecificDataSize);
    mOwner->endBox();  // apvC
}