ttml: Fix i_read type

Fix CID #1346955
This commit is contained in:
Hugo Beauzée-Luyssen 2015-12-31 14:30:10 +01:00
parent 36eb0436f6
commit 573c2015f2

View File

@ -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 );