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

Commit eb9834cd 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 am: 996d8d43

parents 184d4944 996d8d43
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5359,6 +5359,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
}