vlc | branch: master | Francois Cartegnie <[email protected]> | Tue Sep  8 
11:23:18 2015 +0200| [f8809911cb4f245681e523248e559c66196f8eac] | committer: 
Francois Cartegnie

demux: libmp4: fix warning

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

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

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index d4ed047..56dab62 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -239,7 +239,7 @@ static int MP4_ReadBoxContainerChildrenIndexed( stream_t 
*p_stream,
      * with a DASH stream. In that case, we skip the following check */
     if( (p_container->i_size || p_container->p_father)
             && ( stream_Tell( p_stream ) + ((b_indexed)?16:8) >
-        (off_t)(p_container->i_pos + p_container->i_size) )
+        (uint64_t)(p_container->i_pos + p_container->i_size) )
       )
     {
         /* there is no box to load */

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to