vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Wed Aug 13 20:41:00 2014 +0300| [6447083887049a818c8a52f71c549f1e7e81f433] | committer: Rémi Denis-Courmont
stream: avoid shadowing > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6447083887049a818c8a52f71c549f1e7e81f433 --- src/input/stream.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/input/stream.c b/src/input/stream.c index 64d47b4..42e464a 100644 --- a/src/input/stream.c +++ b/src/input/stream.c @@ -994,7 +994,6 @@ static int AStreamSeekBlock( stream_t *s, uint64_t i_pos ) static int AStreamRefillBlock( stream_t *s ) { stream_sys_t *p_sys = s->p_sys; - block_t *b; /* Release data */ while( p_sys->block.i_size >= STREAM_CACHE_SIZE && @@ -1018,6 +1017,8 @@ static int AStreamRefillBlock( stream_t *s ) /* Now read a new block */ const int64_t i_start = mdate(); + block_t *b; + for( ;; ) { bool b_eof; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
