Commit 64470838 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

stream: avoid shadowing

parent 650c84a8
...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment