Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/thirdparty/Bento4/Core/Ap4AtomSampleTable.cpp')
-rw-r--r--src/thirdparty/Bento4/Core/Ap4AtomSampleTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thirdparty/Bento4/Core/Ap4AtomSampleTable.cpp b/src/thirdparty/Bento4/Core/Ap4AtomSampleTable.cpp
index cf96ba8c6..225d29958 100644
--- a/src/thirdparty/Bento4/Core/Ap4AtomSampleTable.cpp
+++ b/src/thirdparty/Bento4/Core/Ap4AtomSampleTable.cpp
@@ -135,7 +135,7 @@ AP4_AtomSampleTable::GetSample(AP4_Ordinal index,
if (skip > index) return AP4_ERROR_INTERNAL;
// get the atom offset for this chunk
- AP4_Offset offset;
+ AP4_Offset offset = 0;
if (m_StcoAtom) result = m_StcoAtom->GetChunkOffset(chunk, offset);
else if (m_Co64Atom) result = m_Co64Atom->GetChunkOffset(chunk, offset);
else result = AP4_ERROR_INTERNAL;