Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
5f34d687
Commit
5f34d687
authored
Oct 17, 2011
by
Hugo Beauzée-Luyssen
Committed by
Jean-Baptiste Kempf
Oct 18, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ebml: Constify getters.
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
418333d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
modules/demux/mkv/Ebml_parser.cpp
modules/demux/mkv/Ebml_parser.cpp
+2
-2
modules/demux/mkv/Ebml_parser.hpp
modules/demux/mkv/Ebml_parser.hpp
+2
-2
No files found.
modules/demux/mkv/Ebml_parser.cpp
View file @
5f34d687
...
...
@@ -116,7 +116,7 @@ void EbmlParser::Keep( void )
mb_keep
=
true
;
}
int
EbmlParser
::
GetLevel
(
void
)
int
EbmlParser
::
GetLevel
(
void
)
const
{
return
mi_user_level
;
}
...
...
@@ -193,7 +193,7 @@ EbmlElement *EbmlParser::Get( void )
return
m_el
[
mi_level
];
}
bool
EbmlParser
::
IsTopPresent
(
EbmlElement
*
el
)
bool
EbmlParser
::
IsTopPresent
(
EbmlElement
*
el
)
const
{
for
(
int
i
=
0
;
i
<
mi_level
;
i
++
)
{
...
...
modules/demux/mkv/Ebml_parser.hpp
View file @
5f34d687
...
...
@@ -43,10 +43,10 @@ class EbmlParser
void
Keep
(
void
);
EbmlElement
*
UnGet
(
uint64
i_block_pos
,
uint64
i_cluster_pos
);
int
GetLevel
(
void
);
int
GetLevel
(
void
)
const
;
/* Is the provided element presents in our upper elements */
bool
IsTopPresent
(
EbmlElement
*
);
bool
IsTopPresent
(
EbmlElement
*
)
const
;
private:
EbmlStream
*
m_es
;
...
...
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