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
dab3b929
Commit
dab3b929
authored
May 30, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* access2: fixed seeking.
* ftp: converted to access2.
parent
92777ea1
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
216 additions
and
132 deletions
+216
-132
modules/access/access2.c
modules/access/access2.c
+2
-1
modules/access/ftp.c
modules/access/ftp.c
+214
-131
No files found.
modules/access/access2.c
View file @
dab3b929
...
...
@@ -41,6 +41,7 @@ vlc_module_begin();
set_callbacks
(
Access2Open
,
Access2Close
);
add_shortcut
(
"access2"
);
add_shortcut
(
"http"
);
add_shortcut
(
"ftp"
);
/* Hack */
//add_shortcut( "file" );
...
...
@@ -227,7 +228,7 @@ static void Access2Seek( input_thread_t *p_input, off_t i_pos )
if
(
p_access
->
pf_seek
!=
NULL
&&
p_input
->
stream
.
b_seekable
)
{
if
(
p_access
->
pf_seek
(
p_access
,
i_pos
)
)
if
(
!
p_access
->
pf_seek
(
p_access
,
i_pos
)
)
{
vlc_mutex_lock
(
&
p_input
->
stream
.
stream_lock
);
p_input
->
stream
.
p_selected_area
->
i_tell
=
i_pos
;
...
...
modules/access/ftp.c
View file @
dab3b929
This diff is collapsed.
Click to expand it.
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