added standard avi index parsing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6394 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -20,6 +20,7 @@ struct movie_chunk
|
||||
OpenDMLParser::OpenDMLParser()
|
||||
: fSource(0),
|
||||
fSize(0),
|
||||
fMovieListStart(0),
|
||||
fStandardIndexStart(0),
|
||||
fStandardIndexSize(0),
|
||||
fStreamCount(0),
|
||||
@@ -65,6 +66,12 @@ OpenDMLParser::StandardIndexSize()
|
||||
return fStandardIndexSize;
|
||||
}
|
||||
|
||||
int64
|
||||
OpenDMLParser::MovieListStart()
|
||||
{
|
||||
return fMovieListStart;
|
||||
}
|
||||
|
||||
const avi_main_header *
|
||||
OpenDMLParser::AviMainHeader()
|
||||
{
|
||||
@@ -602,6 +609,9 @@ void
|
||||
OpenDMLParser::ParseList_movi(uint64 start, uint32 size)
|
||||
{
|
||||
TRACE("OpenDMLParser::ParseList_movi\n");
|
||||
|
||||
if (fMovieListStart == 0)
|
||||
fMovieListStart = start;
|
||||
|
||||
fMovieChunkCount++;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user