vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlc...@free.fr> | Thu Jun  
7 18:29:46 2018 +0200| [833bdfbd138efc2acba584c947695cdb0c8d8b03] | committer: 
Francois Cartegnie

packetizer: hxxx: use proper type for nal size

(cherry picked from commit 45ab1588043bbdd9279ee8a7c785bed5c1503620)

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

 modules/packetizer/hxxx_nal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/packetizer/hxxx_nal.h b/modules/packetizer/hxxx_nal.h
index 4f4a0b0a89..73657c0e66 100644
--- a/modules/packetizer/hxxx_nal.h
+++ b/modules/packetizer/hxxx_nal.h
@@ -280,7 +280,7 @@ static inline bool hxxx_iterate_next( hxxx_iterator_ctx_t 
*p_ctx, const uint8_t
     if( p_ctx->p_tail - p_ctx->p_head < p_ctx->i_nal_length_size )
         return false;
 
-    size_t i_nal_size = 0;
+    uint32_t i_nal_size = 0;
     for( uint8_t i=0; i < p_ctx->i_nal_length_size ; i++ )
         i_nal_size = (i_nal_size << 8) | *p_ctx->p_head++;
 

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

Reply via email to