vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Thu Jul 23 
20:53:10 2015 +0300| [e21858e2e08cfbea0dcbcc692209a338b244d80a] | committer: 
Rémi Denis-Courmont

archive: remove unimplemented peek callback

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

 modules/access/archive/stream.c |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/modules/access/archive/stream.c b/modules/access/archive/stream.c
index 3b9887e..d6c38df 100644
--- a/modules/access/archive/stream.c
+++ b/modules/access/archive/stream.c
@@ -34,14 +34,6 @@ struct stream_sys_t
     uint8_t buffer[ARCHIVE_READ_SIZE];
 };
 
-static int Peek(stream_t *p_stream, const uint8_t **pp_peek, unsigned int 
i_peek)
-{
-    VLC_UNUSED(p_stream);
-    VLC_UNUSED(pp_peek);
-    VLC_UNUSED(i_peek);
-    return 0;
-}
-
 static int Control(stream_t *p_stream, int i_query, va_list args)
 {
     switch( i_query )
@@ -208,7 +200,6 @@ int StreamOpen(vlc_object_t *p_object)
     }
 
     p_stream->pf_read = NULL;
-    p_stream->pf_peek = Peek;
     p_stream->pf_control = Control;
     p_stream->pf_readdir = Browse;
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to