[vlc-commits] AVI: change function prototype for sign-correctness

Jean-Baptiste Kempf git at videolan.org
Thu Feb 17 23:06:59 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb 17 22:48:15 2011 +0100| [2629bf5ed9d54fc948f38a8b7e3e9b9ce7aa22c1] | committer: Jean-Baptiste Kempf

AVI: change function prototype for sign-correctness

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

 modules/demux/avi/avi.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index 4066bf0..dbb88fa 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -206,7 +206,7 @@ static int AVI_PacketSearch   ( demux_t * );
 static void AVI_IndexLoad    ( demux_t * );
 static void AVI_IndexCreate  ( demux_t * );
 
-static void AVI_ExtractSubtitle( demux_t *, int i_stream, avi_chunk_list_t *, avi_chunk_STRING_t * );
+static void AVI_ExtractSubtitle( demux_t *, unsigned int i_stream, avi_chunk_list_t *, avi_chunk_STRING_t * );
 
 static mtime_t  AVI_MovieGetLength( demux_t * );
 
@@ -432,7 +432,7 @@ static int Open( vlc_object_t * p_this )
                 msg_Dbg( p_demux,
                     "stream[%d] audio(0x%x) %d channels %dHz %dbits",
                     i, p_auds->p_wf->wFormatTag, p_auds->p_wf->nChannels,
-                    p_auds->p_wf->nSamplesPerSec, 
+                    p_auds->p_wf->nSamplesPerSec,
                     p_auds->p_wf->wBitsPerSample );
 
                 fmt.i_extra = __MIN( p_auds->p_wf->cbSize,
@@ -2508,7 +2508,7 @@ static void AVI_MetaLoad( demux_t *p_demux,
  * Subtitles
  *****************************************************************************/
 static void AVI_ExtractSubtitle( demux_t *p_demux,
-                                 int i_stream,
+                                 unsigned int i_stream,
                                  avi_chunk_list_t *p_strl,
                                  avi_chunk_STRING_t *p_strn )
 {



More information about the vlc-commits mailing list