changeset 34279:b71060f1a007

conf_packet_size is used as CONF_TYPE_INT, which is a 32bit type (fixes possible memory corruption).
author ranma
date Tue, 29 Nov 2011 13:03:58 +0000
parents 70ac8d21e6ca
children fcadddee0a5a
files libmpdemux/muxer_mpeg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/muxer_mpeg.c	Tue Nov 29 13:02:45 2011 +0000
+++ b/libmpdemux/muxer_mpeg.c	Tue Nov 29 13:03:58 2011 +0000
@@ -89,7 +89,7 @@
 };
 
 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;