]> git.sesse.net Git - vlc/commitdiff
Fix warning
authorRémi Denis-Courmont <rem@videolan.org>
Mon, 5 May 2008 20:21:23 +0000 (23:21 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Mon, 5 May 2008 20:34:21 +0000 (23:34 +0300)
src/input/stream.c

index 228fb872a6fb7156aa8891a0070478d4d4b0fa69..2493c963f3e7a64f54b3eb172f9ca714f25169cb 100644 (file)
@@ -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,