diff libmpdemux/muxer_mpeg.c @ 17815:36a155ee4d27

init delta_pts before using it; fixes cid 239
author nicodvb
date Sat, 11 Mar 2006 23:21:09 +0000
parents 8f2e94a4a4c1
children e2f06b46dac0
line wrap: on
line diff
--- a/libmpdemux/muxer_mpeg.c	Sat Mar 11 23:15:57 2006 +0000
+++ b/libmpdemux/muxer_mpeg.c	Sat Mar 11 23:21:09 2006 +0000
@@ -2122,7 +2122,7 @@
 static size_t parse_mpeg4_video(muxer_stream_t *s, muxer_priv_t *priv, muxer_headers_t *vpriv, float fps, size_t len)
 {
 	size_t ptr = 0;
-	int64_t delta_pts;
+	int64_t delta_pts=0;
 	uint8_t pt;
 	
 	mp_msg(MSGT_MUXER, MSGL_DBG2,"parse_mpeg4_video, len=%u\n", (uint32_t) len);