diff options
author | Aleksoid <aleksoid@users.sourceforge.net> | 2012-03-27 09:41:35 +0400 |
---|---|---|
committer | Aleksoid <aleksoid@users.sourceforge.net> | 2012-03-27 09:41:35 +0400 |
commit | a47f8b55fd3cbba1d004a510b98eb9d2aa629915 (patch) | |
tree | a0bcf3bc4c7ebb2eb74d53a306429dfe66797923 /src/filters/parser/MP4Splitter/AP4 | |
parent | c6810ae3a8d69d5bb9c7b5cdd3e711f332509858 (diff) |
Fix : MP4Splitter, partially revert rev.4185; Ctts Atom already is working properly - it fix choppy playback some MP4 files;
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4199 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/parser/MP4Splitter/AP4')
-rw-r--r-- | src/filters/parser/MP4Splitter/AP4/Core/Ap4CttsAtom.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/filters/parser/MP4Splitter/AP4/Core/Ap4CttsAtom.cpp b/src/filters/parser/MP4Splitter/AP4/Core/Ap4CttsAtom.cpp index aab0b4255..5cbdf17a0 100644 --- a/src/filters/parser/MP4Splitter/AP4/Core/Ap4CttsAtom.cpp +++ b/src/filters/parser/MP4Splitter/AP4/Core/Ap4CttsAtom.cpp @@ -47,11 +47,6 @@ AP4_CttsAtom::AP4_CttsAtom(AP4_Size size, AP4_ByteStream& stream) : AP4_UI32 sample_offset;
if (stream.ReadUI32(sample_count) == AP4_SUCCESS &&
stream.ReadUI32(sample_offset) == AP4_SUCCESS) {
-// mpc-hc custom code start
- if((int)sample_offset < 0) {
- sample_offset = 0;
- }
-// mpc-hc custom code end
m_Entries.Append(AP4_CttsTableEntry(sample_count,
sample_offset));
}
|