From 615720e7dd9699f2d90c63d4bb6ac45c0e804d32 Mon Sep 17 00:00:00 2001 From: Cosmin Stejerean Date: Tue, 27 Feb 2024 08:57:48 -0800 Subject: [PATCH] fix: AudioSampleEntry size caluations due to bad merge (#1354) from ALAC pull request --- packager/media/formats/mp4/box_definitions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packager/media/formats/mp4/box_definitions.cc b/packager/media/formats/mp4/box_definitions.cc index 68665fe7b6..81d175889a 100644 --- a/packager/media/formats/mp4/box_definitions.cc +++ b/packager/media/formats/mp4/box_definitions.cc @@ -2058,8 +2058,8 @@ size_t AudioSampleEntry::ComputeSizeInternal() { sizeof(samplesize) + sizeof(samplerate) + sinf.ComputeSize() + esds.ComputeSize() + ddts.ComputeSize() + dac3.ComputeSize() + dec3.ComputeSize() + dops.ComputeSize() + dfla.ComputeSize() + - dac4.ComputeSize() + mhac.ComputeSize() + alac.ComputeSize() + dac4.ComputeSize() + mhac.ComputeSize() + udts.ComputeSize() + + alac.ComputeSize() + // Reserved and predefined bytes. 6 + 8 + // 6 + 8 bytes reserved. 4; // 4 bytes predefined.