]> git.sesse.net Git - vlc/commitdiff
ogg: Fix an unitialized value usage.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 27 Sep 2008 17:52:34 +0000 (19:52 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 27 Sep 2008 17:52:34 +0000 (19:52 +0200)
Please review.

Spotted by llvm/clang analyser.

modules/demux/ogg.c

index bb0632b27dcfe351608db12d3b819054f4289a66..db22e7c8ff5f09a081a20abb37d9b1e5005d44b8 100644 (file)
@@ -1381,7 +1381,7 @@ static bool Ogg_IsVorbisFormatCompatible( const es_format_t *p_new, const es_for
 }
 static bool Ogg_LogicalStreamResetEsFormat( demux_t *p_demux, logical_stream_t *p_stream )
 {
-    bool b_compatible;
+    bool b_compatible = false;
     if( !p_stream->fmt_old.i_cat || !p_stream->fmt_old.i_codec )
         return true;