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

Commit bea0da0d authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "MediaMuxer: Create FullBox for APV" into main

parents ddd552d8 5ab055a9
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
}