[MPlayer-cvslog] r19958 - trunk/libmpdemux/demux_real.c

reimar subversion at mplayerhq.hu
Sat Sep 23 18:43:57 CEST 2006


Author: reimar
Date: Sat Sep 23 18:43:57 2006
New Revision: 19958

Modified:
   trunk/libmpdemux/demux_real.c

Log:
int->unsigned to avoid crash to sign extension, partially fixes bug #580


Modified: trunk/libmpdemux/demux_real.c
==============================================================================
--- trunk/libmpdemux/demux_real.c	(original)
+++ trunk/libmpdemux/demux_real.c	Sat Sep 23 18:43:57 2006
@@ -840,7 +840,7 @@
 	    // frames are stored fragmented in the video chunks :(
 	    sh_video_t *sh_video = ds->sh;
 	    demux_packet_t *dp;
-	    int vpkg_header, vpkg_length, vpkg_offset;
+	    unsigned vpkg_header, vpkg_length, vpkg_offset;
 	    int vpkg_seqnum=-1;
 	    int vpkg_subseq=0;
 



More information about the MPlayer-cvslog mailing list