[vlc-devel] commit: ogg: Fix an unitialized value usage. (Pierre d'Herbemont )
git version control
git at videolan.org
Thu Oct 2 21:13:28 CEST 2008
vlc | branch: 0.9-bugfix | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Sep 27 19:52:34 2008 +0200| [45df1670c4ce6b565d7faa3af60915b621ab5801] | committer: Derk-Jan Hartman
ogg: Fix an unitialized value usage.
Please review.
Spotted by llvm/clang analyser.
(cherry picked from commit 4bfe8808eb8513e840a68a47400af5ca16c72cee)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=45df1670c4ce6b565d7faa3af60915b621ab5801
---
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 89cc449..d084a34 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -1376,7 +1376,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