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
df6df8df
Commit
df6df8df
authored
Dec 15, 2009
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
access_avio: cosmetics
Add empty lines between functions
parent
e5899d3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
modules/access/avio.c
modules/access/avio.c
+10
-0
No files found.
modules/access/avio.c
View file @
df6df8df
...
...
@@ -120,6 +120,8 @@ error:
free
(
sys
);
return
VLC_EGENERIC
;
}
void
CloseAvio
(
vlc_object_t
*
object
)
{
access_t
*
access
=
(
access_t
*
)
object
;
...
...
@@ -132,6 +134,7 @@ void CloseAvio(vlc_object_t *object)
free
(
sys
);
}
static
ssize_t
Read
(
access_t
*
access
,
uint8_t
*
data
,
size_t
size
)
{
/* FIXME I am unsure of the meaning of the return value in case
...
...
@@ -144,6 +147,8 @@ static ssize_t Read(access_t *access, uint8_t *data, size_t size)
access
->
info
.
i_pos
+=
r
;
return
r
;
}
static
int
Seek
(
access_t
*
access
,
int64_t
position
)
{
access_sys_t
*
sys
=
access
->
p_sys
;
...
...
@@ -157,6 +162,8 @@ static int Seek(access_t *access, int64_t position)
access
->
info
.
b_eof
=
false
;
return
VLC_SUCCESS
;
}
static
int
Control
(
access_t
*
access
,
int
query
,
va_list
args
)
{
access_sys_t
*
sys
=
access
->
p_sys
;
...
...
@@ -206,11 +213,14 @@ static int Control(access_t *access, int query, va_list args)
static
vlc_mutex_t
avio_lock
=
VLC_STATIC_MUTEX
;
static
access_t
*
current_access
=
NULL
;
static
int
UrlInterruptCallback
(
void
)
{
assert
(
current_access
);
return
!
vlc_object_alive
(
current_access
);
}
static
int
SetupAvio
(
access_t
*
access
)
{
vlc_mutex_lock
(
&
avio_lock
);
...
...
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