Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
732f8f22
Commit
732f8f22
authored
Mar 16, 2005
by
Steve Lhomme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mkv.cpp: faster code with newer libs
parent
59dd99e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+6
-0
No files found.
modules/demux/mkv.cpp
View file @
732f8f22
...
...
@@ -56,6 +56,7 @@
#include "ebml/EbmlStream.h"
#include "ebml/EbmlContexts.h"
#include "ebml/EbmlVoid.h"
#include "ebml/EbmlVersion.h"
#include "ebml/StdIOCallback.h"
#include "matroska/KaxAttachments.h"
...
...
@@ -1937,7 +1938,12 @@ void EbmlParser::Reset( void )
{
delete
m_el
[
mi_level
];
m_el
[
mi_level
]
=
NULL
;
#if LIBEBML_VERSION >= 0x000704
// a little faster and cleaner
m_es
->
I_O
().
setFilePointer
(
static_cast
<
EbmlMaster
*>
(
m_el
[
0
])
->
GetDataStart
()
);
#else
m_es
->
I_O
().
setFilePointer
(
m_el
[
0
]
->
GetElementPosition
()
+
m_el
[
0
]
->
ElementSize
(
true
)
-
m_el
[
0
]
->
GetSize
()
);
#endif
}
EbmlElement
*
EbmlParser
::
Get
(
void
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment