[vlc-devel] [PATCH 08/11] demux: wav: change i_size type

Thomas Guillem thomas at gllm.fr
Thu Mar 12 15:05:49 CET 2020


Use the same type than GetDWLE() that returns an uint32_t.
---
 modules/demux/wav.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/wav.c b/modules/demux/wav.c
index 4ea30ab614e..1349baa2555 100644
--- a/modules/demux/wav.c
+++ b/modules/demux/wav.c
@@ -127,7 +127,7 @@ static int ChunkSkip( demux_t *p_demux, size_t i_size )
     return VLC_SUCCESS;
 }
 
-static int ChunkFind( demux_t *p_demux, const char *fcc, unsigned int *pi_size )
+static int ChunkFind( demux_t *p_demux, const char *fcc, uint32_t *pi_size )
 {
     const uint8_t *p_peek;
 
@@ -529,7 +529,7 @@ static int Open( vlc_object_t * p_this )
 
     const uint8_t *p_peek;
     bool           b_is_rf64;
-    unsigned int   i_size;
+    uint32_t       i_size;
 
     /* Is it a wav file ? */
     if( vlc_stream_Peek( p_demux->s, &p_peek, 12 ) < 12 )
-- 
2.20.1



More information about the vlc-devel mailing list