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
ff451709
Commit
ff451709
authored
Mar 14, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/access/file.c: couple of fixes for the file-cat mode.
parent
d1c5652e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
modules/access/file.c
modules/access/file.c
+6
-2
No files found.
modules/access/file.c
View file @
ff451709
...
...
@@ -469,7 +469,11 @@ static ssize_t Read( input_thread_t * p_input, byte_t * p_buffer, size_t i_len )
msg_Dbg
(
p_input
,
"opening file `%s'"
,
psz_name
);
if
(
_OpenFile
(
p_input
,
psz_name
)
!=
VLC_SUCCESS
)
return
i_ret
;
if
(
_OpenFile
(
p_input
,
psz_name
)
!=
VLC_SUCCESS
)
{
p_access_data
->
i_index
--
;
return
0
;
}
close
(
i_handle
);
...
...
@@ -502,7 +506,6 @@ static void Seek( input_thread_t * p_input, off_t i_pos )
}
psz_name
=
p_access_data
->
p_files
[
i
]
->
psz_name
;
p_access_data
->
i_index
=
i
;
msg_Dbg
(
p_input
,
"opening file `%s'"
,
psz_name
);
if
(
_OpenFile
(
p_input
,
psz_name
)
==
VLC_SUCCESS
)
...
...
@@ -512,6 +515,7 @@ static void Seek( input_thread_t * p_input, off_t i_pos )
}
else
{
p_access_data
->
i_index
=
i
;
p_access_data
->
_socket
.
i_handle
=
i_handle
;
}
}
...
...
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