Commit 751ecf1c authored by François Cartegnie's avatar François Cartegnie 🤞

demux: ogg: fix old stream format reuse check

parent e1ef1151
......@@ -2051,8 +2051,8 @@ static void Ogg_CreateES( demux_t *p_demux )
p_stream->b_reinit = false;
p_stream->b_initializing = false;
p_stream->i_pre_skip = 0;
bool b_resetdecoder = Ogg_LogicalStreamResetEsFormat( p_demux, p_stream );
es_format_Copy( &p_stream->fmt_old, &p_old_stream->fmt );
bool b_resetdecoder = Ogg_LogicalStreamResetEsFormat( p_demux, p_stream );
p_old_stream->p_es = NULL;
p_old_stream = NULL;
......
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