Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
64470838
Commit
64470838
authored
Aug 13, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stream: avoid shadowing
parent
650c84a8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/input/stream.c
src/input/stream.c
+2
-1
No files found.
src/input/stream.c
View file @
64470838
...
@@ -994,7 +994,6 @@ static int AStreamSeekBlock( stream_t *s, uint64_t i_pos )
...
@@ -994,7 +994,6 @@ static int AStreamSeekBlock( stream_t *s, uint64_t i_pos )
static
int
AStreamRefillBlock
(
stream_t
*
s
)
static
int
AStreamRefillBlock
(
stream_t
*
s
)
{
{
stream_sys_t
*
p_sys
=
s
->
p_sys
;
stream_sys_t
*
p_sys
=
s
->
p_sys
;
block_t
*
b
;
/* Release data */
/* Release data */
while
(
p_sys
->
block
.
i_size
>=
STREAM_CACHE_SIZE
&&
while
(
p_sys
->
block
.
i_size
>=
STREAM_CACHE_SIZE
&&
...
@@ -1018,6 +1017,8 @@ static int AStreamRefillBlock( stream_t *s )
...
@@ -1018,6 +1017,8 @@ static int AStreamRefillBlock( stream_t *s )
/* Now read a new block */
/* Now read a new block */
const
int64_t
i_start
=
mdate
();
const
int64_t
i_start
=
mdate
();
block_t
*
b
;
for
(
;;
)
for
(
;;
)
{
{
bool
b_eof
;
bool
b_eof
;
...
...
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