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
21186ef6
Commit
21186ef6
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: Use init list when possible.
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
d64381fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
12 deletions
+8
-12
modules/demux/mkv/Ebml_parser.cpp
modules/demux/mkv/Ebml_parser.cpp
+8
-12
No files found.
modules/demux/mkv/Ebml_parser.cpp
View file @
21186ef6
...
...
@@ -29,20 +29,16 @@
/*****************************************************************************
* Ebml Stream parser
*****************************************************************************/
EbmlParser
::
EbmlParser
(
EbmlStream
*
es
,
EbmlElement
*
el_start
,
demux_t
*
p_demux
)
EbmlParser
::
EbmlParser
(
EbmlStream
*
es
,
EbmlElement
*
el_start
,
demux_t
*
p_demux
)
:
m_es
(
es
),
mi_level
(
1
),
m_got
(
NULL
),
mi_user_level
(
1
),
mb_keep
(
false
)
{
m_es
=
es
;
m_got
=
NULL
;
m_el
[
0
]
=
el_start
;
mi_remain_size
[
0
]
=
el_start
->
GetSize
();
for
(
int
i
=
1
;
i
<
6
;
i
++
)
{
m_el
[
i
]
=
NULL
;
}
mi_level
=
1
;
mi_user_level
=
1
;
mb_keep
=
false
;
memset
(
m_el
,
0
,
6
*
sizeof
(
*
m_el
)
);
m_el
[
0
]
=
el_start
;
mb_dummy
=
var_InheritBool
(
p_demux
,
"mkv-use-dummy"
);
}
...
...
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