[MPlayer-cvslog] r34367 - trunk/libmpdemux/muxer_mpeg.c

ranma subversion at mplayerhq.hu
Tue Nov 29 14:03:59 CET 2011


Author: ranma
Date: Tue Nov 29 14:03:58 2011
New Revision: 34367

Log:
conf_packet_size is used as CONF_TYPE_INT, which is a 32bit type (fixes possible memory corruption).

Modified:
   trunk/libmpdemux/muxer_mpeg.c

Modified: trunk/libmpdemux/muxer_mpeg.c
==============================================================================
--- trunk/libmpdemux/muxer_mpeg.c	Tue Nov 29 14:02:45 2011	(r34366)
+++ trunk/libmpdemux/muxer_mpeg.c	Tue Nov 29 14:03:58 2011	(r34367)
@@ -89,7 +89,7 @@ static const char *aspect_ratios[] = {
 };
 
 static char *conf_mux = "mpeg2";
-static uint16_t conf_packet_size = 0;		//dvd
+static uint32_t conf_packet_size = 0;		//dvd
 static uint32_t conf_muxrate = 0;		//kb/s
 static float conf_vaspect = 0;
 static float conf_vframerate = 0;


More information about the MPlayer-cvslog mailing list