Commit 4bfe8808 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

ogg: Fix an unitialized value usage.

Please review.

Spotted by llvm/clang analyser.
parent 15f7406e
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment