[vlc-devel] commit: ogg: Fix some pointer sign comparison warning. (Pierre d'Herbemont )

git version control git at videolan.org
Fri Aug 21 01:05:59 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Fri Aug 21 00:44:05 2009 +0200| [441603f0c3eebf1770525f978d12b3b2a19bcedb] | committer: Pierre d'Herbemont 

ogg: Fix some pointer sign comparison warning.

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

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

diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
index 6387e12..7f8cbf2 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -1109,7 +1109,7 @@ static int Ogg_FindLogicalStreams( demux_t *p_demux )
                     /* Check for audio header (old format) */
                     else if( GetDWLE((oggpacket.packet+96)) == 0x05589F81 )
                     {
-                        unsigned int i_extra_size;
+                        int i_extra_size;
                         unsigned int i_format_tag;
 
                         p_stream->fmt.i_cat = AUDIO_ES;
@@ -1220,7 +1220,7 @@ static int Ogg_FindLogicalStreams( demux_t *p_demux )
                     else if( !strncmp( st->streamtype, "audio", 5 ) )
                     {
                         char p_buffer[5];
-                        unsigned int i_extra_size;
+                        int i_extra_size;
                         int i_format_tag;
 
                         st->sh.audio.channels = GetWLE( &oggpacket.packet[1+44] );




More information about the vlc-devel mailing list