[vlc-commits] mp4: kill warning about sign

Jean-Baptiste Kempf git at videolan.org
Mon Oct 31 00:42:30 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Oct 28 15:36:05 2011 +0200| [f1ce311c46e577ec41fbaac8fd285fec6caa530f] | committer: Jean-Baptiste Kempf

mp4: kill warning about sign

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

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

diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 4ef7b76..9561d0f 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -708,7 +708,7 @@ static int Demux( demux_t *p_demux )
                     if( tk->fmt.i_codec == VLC_FOURCC( 's', 'u', 'b', 't' ) &&
                         p_block->i_buffer >= 2 )
                     {
-                        uint16_t i_size = GetWBE( p_block->p_buffer );
+                        size_t i_size = GetWBE( p_block->p_buffer );
 
                         if( i_size + 2 <= p_block->i_buffer )
                         {



More information about the vlc-commits mailing list