[vlc-devel] commit: ogg: Fix an unitialized value usage. (Pierre d'Herbemont )
git version control
git at videolan.org
Sat Sep 27 19:50:15 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Sep 27 19:52:34 2008 +0200| [4bfe8808eb8513e840a68a47400af5ca16c72cee] | committer: Pierre d'Herbemont
ogg: Fix an unitialized value usage.
Please review.
Spotted by llvm/clang analyser.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4bfe8808eb8513e840a68a47400af5ca16c72cee
---
modules/demux/ogg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
index bb0632b..db22e7c 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -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;
More information about the vlc-devel
mailing list