Commit 45df1670 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont Committed by Derk-Jan Hartman

ogg: Fix an unitialized value usage.

Please review.

Spotted by llvm/clang analyser.
(cherry picked from commit 4bfe8808)
parent 59a92545
...@@ -1376,7 +1376,7 @@ static bool Ogg_IsVorbisFormatCompatible( const es_format_t *p_new, const es_for ...@@ -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 ) 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 ) if( !p_stream->fmt_old.i_cat || !p_stream->fmt_old.i_codec )
return true; 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