[vlc-commits] archive: remove unimplemented peek callback

Rémi Denis-Courmont git at videolan.org
Thu Jul 23 20:09:29 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | 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;
 



More information about the vlc-commits mailing list