[vlc-commits] file: remove useless seek callback

Rémi Denis-Courmont git at videolan.org
Wed Jun 19 20:12:51 CEST 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jun 18 19:17:26 2019 +0300| [8ef7a1869eb867ec3ce65ae6ed1641c57cfa7266] | committer: Rémi Denis-Courmont

file: remove useless seek callback

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

 modules/access/file.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/access/file.c b/modules/access/file.c
index 62d959a8c8..970ffc52af 100644
--- a/modules/access/file.c
+++ b/modules/access/file.c
@@ -127,7 +127,6 @@ static bool IsRemote (const char *path)
 
 static ssize_t Read (stream_t *, void *, size_t);
 static int FileSeek (stream_t *, uint64_t);
-static int NoSeek (stream_t *, uint64_t);
 static int FileControl (stream_t *, int, va_list);
 
 /*****************************************************************************
@@ -233,7 +232,7 @@ int FileOpen( vlc_object_t *p_this )
     }
     else
     {
-        p_access->pf_seek = NoSeek;
+        p_access->pf_seek = NULL;
         p_sys->b_pace_control = strcasecmp (p_access->psz_name, "stream");
     }
 



More information about the vlc-commits mailing list