[vlc-commits] ttml: Fix i_read type

Hugo Beauzée-Luyssen git at videolan.org
Thu Dec 31 14:35:57 CET 2015


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Dec 31 14:30:10 2015 +0100| [573c2015f2af66a2ba374e3cc972609e11d50e76] | committer: Hugo Beauzée-Luyssen

ttml: Fix i_read type

Fix CID #1346955

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

 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 d0f7fe7..044fa3e 100644
--- a/modules/demux/ttml.c
+++ b/modules/demux/ttml.c
@@ -378,7 +378,7 @@ static void ParseHead( demux_t* p_demux )
     char* psz_head = NULL;
     size_t i_head_len = 0; // head tags size, in bytes
     size_t i_size; // allocated buffer size
-    size_t i_read;
+    ssize_t i_read;
 
     // Rewind since the XML parser will have consumed the entire file.
     stream_Seek( p_demux->s, 0 );



More information about the vlc-commits mailing list