[vlc-commits] demux: mp4: missing initializer

Francois Cartegnie git at videolan.org
Wed Oct 14 17:11:11 CEST 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Oct 14 17:10:48 2015 +0200| [a66c59b5eaaf3940418fea178db1bb3470fef24f] | committer: Francois Cartegnie

demux: mp4: missing initializer

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a66c59b5eaaf3940418fea178db1bb3470fef24f
---

 modules/demux/mp4/mp4.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 8ff5961..67128ba 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -1262,7 +1262,7 @@ static int LeafSeekIntoFragment( demux_t *p_demux, mp4_fragment_t *p_fragment )
 static int LeafSeekToTime( demux_t *p_demux, mtime_t i_nztime )
 {
     demux_sys_t *p_sys = p_demux->p_sys;
-    mp4_fragment_t *p_fragment;
+    mp4_fragment_t *p_fragment = NULL;
     uint64_t i64 = 0;
     if ( !p_sys->i_timescale || !p_sys->i_overall_duration || !p_sys->b_seekable )
          return VLC_EGENERIC;



More information about the vlc-commits mailing list