[vlc-devel] commit: Fix warning ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon May 5 22:40:08 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Mon May  5 23:21:23 2008 +0300| [f3cf5c6ef8f03bd8b9cb99a095c9072d76608181]

Fix warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f3cf5c6ef8f03bd8b9cb99a095c9072d76608181
---

 src/input/stream.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/input/stream.c b/src/input/stream.c
index 228fb87..2493c96 100644
--- a/src/input/stream.c
+++ b/src/input/stream.c
@@ -1752,7 +1752,7 @@ static block_t *AReadBlock( stream_t *s, bool *pb_eof )
     {
         p_block = p_access->pf_block( p_access );
         if( pb_eof ) *pb_eof = p_access->info.b_eof;
-        if( p_input && p_block && libvlc_stats (p_access) )
+        if( p_input && p_block && libvlc_stats (VLC_OBJECT(p_access)) )
         {
             vlc_mutex_lock( &p_input->p->counters.counters_lock );
             stats_UpdateInteger( s, p_input->p->counters.p_read_bytes,




More information about the vlc-devel mailing list