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
9a2dc82f
Commit
9a2dc82f
authored
Sep 01, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stream: fix stream_Tell() after seek
parent
b1fa0664
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/input/stream.c
src/input/stream.c
+6
-2
No files found.
src/input/stream.c
View file @
9a2dc82f
...
...
@@ -475,12 +475,16 @@ int stream_vaControl(stream_t *s, int cmd, va_list args)
uint64_t
pos
=
va_arg
(
args
,
uint64_t
);
int
ret
=
stream_ControlInternal
(
s
,
STREAM_SET_POSITION
,
pos
);
if
(
ret
==
VLC_SUCCESS
&&
priv
->
peek
!=
NULL
)
if
(
ret
!=
VLC_SUCCESS
)
return
ret
;
if
(
priv
->
peek
!=
NULL
)
{
block_Release
(
priv
->
peek
);
priv
->
peek
=
NULL
;
}
return
ret
;
priv
->
offset
=
pos
;
return
VLC_SUCCESS
;
}
case
STREAM_GET_PRIVATE_BLOCK
:
...
...
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