Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
3d7b3dab
Commit
3d7b3dab
authored
Oct 26, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Character devices are not seekable.
Thanks to Ed Schouten for noticing.
parent
ea293f9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
modules/access/file.c
modules/access/file.c
+3
-4
No files found.
modules/access/file.c
View file @
3d7b3dab
...
...
@@ -227,14 +227,13 @@ static int Open( vlc_object_t *p_this )
p_sys
->
b_seekable
=
VLC_TRUE
;
}
#elif defined( HAVE_SYS_STAT_H )
else
if
(
S_ISREG
(
stat_info
.
st_mode
)
||
S_ISCHR
(
stat_info
.
st_mode
)
||
S_ISBLK
(
stat_info
.
st_mode
)
)
else
if
(
S_ISREG
(
stat_info
.
st_mode
)
||
S_ISBLK
(
stat_info
.
st_mode
)
)
{
p_sys
->
b_seekable
=
VLC_TRUE
;
p_access
->
info
.
i_size
=
stat_info
.
st_size
;
}
else
if
(
S_ISFIFO
(
stat_info
.
st_mode
)
# if
!defined( SYS_BEOS ) && !defined( WIN32 )
else
if
(
S_IS
CHR
(
stat_info
.
st_mode
)
||
S_IS
FIFO
(
stat_info
.
st_mode
)
# if
def S_ISSOCK
||
S_ISSOCK
(
stat_info
.
st_mode
)
# endif
)
...
...
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