Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
e62f9ac5
Commit
e62f9ac5
authored
May 19, 2005
by
Steve Lhomme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mkv.cpp: clean the UnGet() feature
parent
fcbb8a42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+10
-2
No files found.
modules/demux/mkv.cpp
View file @
e62f9ac5
...
...
@@ -3318,8 +3318,15 @@ EbmlParser::~EbmlParser( void )
void
EbmlParser
::
UnGet
(
uint64
i_restart_pos
)
{
mi_user_level
--
;
m_el
[
mi_level
]
=
NULL
;
if
(
mi_user_level
>
mi_level
)
{
while
(
mi_user_level
!=
mi_level
)
{
delete
m_el
[
mi_user_level
];
m_el
[
mi_user_level
]
=
NULL
;
mi_user_level
--
;
}
}
m_got
=
NULL
;
mb_keep
=
VLC_FALSE
;
m_es
->
I_O
().
setFilePointer
(
i_restart_pos
,
seek_beginning
);
...
...
@@ -5258,6 +5265,7 @@ void matroska_segment_c::Seek( mtime_t i_date, mtime_t i_time_offset )
return
;
}
ep
->
Down
();
for
(
i_track
=
0
;
i_track
<
tracks
.
size
();
i_track
++
)
{
...
...
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