[vlc-commits] demux: subs: fix incorrect control() param

Francois Cartegnie git at videolan.org
Thu Jan 26 12:57:05 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jan 26 12:56:41 2017 +0100| [6fe88d48d9d754dcdb5e7fdea693310434afc0c1] | committer: Francois Cartegnie

demux: subs: fix incorrect control() param

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

 modules/demux/stl.c      | 2 +-
 modules/demux/subtitle.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/stl.c b/modules/demux/stl.c
index 619a2b2..b5d195e 100644
--- a/modules/demux/stl.c
+++ b/modules/demux/stl.c
@@ -138,7 +138,7 @@ static int Control(demux_t *demux, int query, va_list args)
         if(sys->count && sys->index[sys->count-1].stop > 0)
         {
             int64_t i64 = f * sys->index[sys->count-1].stop;
-            return Control(demux, DEMUX_SET_TIME, i64);
+            return demux_Control(demux, DEMUX_SET_TIME, i64);
         }
         break;
     }
diff --git a/modules/demux/subtitle.c b/modules/demux/subtitle.c
index 3beba02..604937c 100644
--- a/modules/demux/subtitle.c
+++ b/modules/demux/subtitle.c
@@ -696,7 +696,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
             if( p_sys->subtitles.i_count && p_sys->i_length )
             {
                 i64 = VLC_TS_0 + f * p_sys->i_length;
-                return Control( p_demux, DEMUX_SET_TIME, i64 );
+                return demux_Control( p_demux, DEMUX_SET_TIME, i64 );
             }
             break;
 



More information about the vlc-commits mailing list