[vlc-commits] webvtt: remove unused argument

Rémi Denis-Courmont git at videolan.org
Sun Feb 11 12:59:26 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Feb 11 13:51:37 2018 +0200| [fe4810c7b5ab87129fc32c8dcf23420497537fd1] | committer: Rémi Denis-Courmont

webvtt: remove unused argument

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

 modules/demux/webvtt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/webvtt.c b/modules/demux/webvtt.c
index 14d37dda00..a339f29406 100644
--- a/modules/demux/webvtt.c
+++ b/modules/demux/webvtt.c
@@ -335,7 +335,7 @@ static void BuildIndex( demux_t *p_demux )
     }
 }
 
-static block_t *demux_Range( demux_t *p_demux, mtime_t i_start, mtime_t i_end )
+static block_t *demux_From( demux_t *p_demux, mtime_t i_start )
 {
     demux_sys_t *p_sys = p_demux->p_sys;
 
@@ -546,7 +546,7 @@ static int Demux( demux_t *p_demux )
             }
         }
 
-        block_t *p_block = demux_Range( p_demux, i_start_time, i_end_time );
+        block_t *p_block = demux_From( p_demux, i_start_time );
         if( p_block )
         {
             p_block->i_length = i_end_time - i_start_time;



More information about the vlc-commits mailing list