Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
b07af9f4
Commit
b07af9f4
authored
Aug 18, 2014
by
Rémi Denis-Courmont
Browse files
file: pass error from lseek()
parent
f8fde191
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/file.c
View file @
b07af9f4
...
...
@@ -328,7 +328,8 @@ static int FileSeek (access_t *p_access, uint64_t i_pos)
p_access
->
info
.
i_pos
=
i_pos
;
p_access
->
info
.
b_eof
=
false
;
lseek
(
p_access
->
p_sys
->
fd
,
i_pos
,
SEEK_SET
);
if
(
lseek
(
p_access
->
p_sys
->
fd
,
i_pos
,
SEEK_SET
)
==
(
off_t
)
-
1
)
return
VLC_EGENERIC
;
return
VLC_SUCCESS
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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