041a5c5811
In several cases, the parser would parse a header (say, a track header, or the segment info header) in the constructor for the type. The parser had assumed (incorrectly) that the file was well-formed, but this turned out to be an incorrect assumption. The parse errors triggered some assertion failures, but this is not acceptable in a production system. The parser solved that problem by separating the construction of the header object from the parsing of the file. There is now a separate parse method to be called after construction of the object, which returns a status whether the parse was successful. This change fixes the bugs from the following tracker issues: http://code.google.com/p/webm/issues/detail?id=399 http://code.google.com/p/webm/issues/detail?id=400 Change-Id: Idb09154ae7008429d8613ce3b3e8294f5a12de86 |
||
---|---|---|
sample_muxer | ||
.gitignore | ||
Android.mk | ||
AUTHORS.TXT | ||
libwebm_2005.sln | ||
libwebm_2005.vcproj | ||
libwebm_2008.sln | ||
libwebm_2008.vcproj | ||
LICENSE.TXT | ||
Makefile | ||
mkvmuxer.cpp | ||
mkvmuxer.hpp | ||
mkvmuxertypes.hpp | ||
mkvmuxerutil.cpp | ||
mkvmuxerutil.hpp | ||
mkvparser.cpp | ||
mkvparser.hpp | ||
mkvreader.cpp | ||
mkvreader.hpp | ||
mkvwriter.cpp | ||
mkvwriter.hpp | ||
PATENTS.TXT | ||
RELEASE.TXT | ||
sample_2005.vcproj | ||
sample_2008.vcproj | ||
sample.cpp | ||
webmids.hpp |