vlc | branch: master | Hugo Beauzée-Luyssen <h...@beauzee.fr> | Tue Sep 20 
00:49:57 2016 +0200| [b14555ab29acadec7a05bb0fef3f8518fd4162b3] | committer: 
Hugo Beauzée-Luyssen

ttml: Constify 2nd ParseTimeOnSpan parameter

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

 modules/demux/ttml.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/ttml.c b/modules/demux/ttml.c
index 5bbb8e1..ca9afc4 100644
--- a/modules/demux/ttml.c
+++ b/modules/demux/ttml.c
@@ -407,7 +407,7 @@ static void CleanSubs( subtitle_t** tab )
 * create a new p tag for each time space in the
 * subtitle timeline in the function below.
 */
-static int ParseTimeOnSpan( demux_sys_t* p_sys, char* psz_text )
+static int ParseTimeOnSpan( demux_sys_t* p_sys, const char* psz_text )
 {
     xml_reader_t* p_reader = p_sys->p_reader;
     subtitle_t** pp_subtitles = calloc( 1, sizeof( *pp_subtitles ) );

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to