[vlc-devel] commit: Kill warnings. (Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Jun 15 01:10:12 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jun 14 16:11:17 2008 -0700| [b5c0d68d4eaffc2334ec3f558c54447560269ae9]

Kill warnings.

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

 modules/demux/ps.h |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/modules/demux/ps.h b/modules/demux/ps.h
index 067c729..a3559b9 100644
--- a/modules/demux/ps.h
+++ b/modules/demux/ps.h
@@ -192,8 +192,7 @@ static inline int ps_pkt_id( block_t *p_pkt )
     {
         /* ISO 13818 amendment 2 and SMPTE RP 227 */
         const uint8_t i_flags = p_pkt->p_buffer[7];
-        int i_skip = 9;
-
+        unsigned int i_skip = 9;
 
         /* Find PES extension */
         if( (i_flags & 0x80 ) )
@@ -341,7 +340,7 @@ static inline int ps_pkt_parse_system( block_t *p_pkt, ps_psm_t *p_psm,
 static inline int ps_pkt_parse_pes( block_t *p_pes, int i_skip_extra )
 {
     uint8_t header[30];
-    int     i_skip  = 0;
+    unsigned int i_skip  = 0;
 
     memcpy( header, p_pes->p_buffer, __MIN( p_pes->i_buffer, 30 ) );
 




More information about the vlc-devel mailing list