Remove unused metaAtom in mp4container.cpp

This commit is contained in:
Martchus 2017-03-22 14:36:52 +01:00
parent c3394acdb2
commit 4a37d9b58f
1 changed files with 3 additions and 5 deletions

View File

@ -262,7 +262,7 @@ void Mp4Container::internalMakeFile()
const auto trackCount = this->trackCount(); const auto trackCount = this->trackCount();
// find relevant atoms in original file // find relevant atoms in original file
Mp4Atom *fileTypeAtom, *progressiveDownloadInfoAtom, *movieAtom, *firstMediaDataAtom, *firstMovieFragmentAtom, *userDataAtom, *metaAtom; Mp4Atom *fileTypeAtom, *progressiveDownloadInfoAtom, *movieAtom, *firstMediaDataAtom, *firstMovieFragmentAtom, *userDataAtom;
Mp4Atom *level0Atom, *level1Atom, *level2Atom, *lastAtomToBeWritten; Mp4Atom *level0Atom, *level1Atom, *level2Atom, *lastAtomToBeWritten;
try { try {
// file type atom (mandatory) // file type atom (mandatory)
@ -334,10 +334,8 @@ void Mp4Container::internalMakeFile()
initialNewTagPos = newTagPos = ElementPosition::BeforeData; initialNewTagPos = newTagPos = ElementPosition::BeforeData;
} }
// user data atom, meta atom, next sibling of meta atom // user data atom
if((userDataAtom = movieAtom->childById(Mp4AtomIds::UserData))) { userDataAtom = movieAtom->childById(Mp4AtomIds::UserData);
metaAtom = userDataAtom->childById(Mp4AtomIds::Meta);
}
} catch (const NotImplementedException &) { } catch (const NotImplementedException &) {
throw; throw;