# HG changeset patch # User nicodvb # Date 1142119269 0 # Node ID 36a155ee4d274d68306a725c8df0038a9b4be17a # Parent 8f2e94a4a4c1ee009e0f1cb70b6feeba2041e1b2 init delta_pts before using it; fixes cid 239 diff -r 8f2e94a4a4c1 -r 36a155ee4d27 libmpdemux/muxer_mpeg.c --- 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);