Commit f1f2845e authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Jean-Baptiste Kempf

demux: ogg: fix old stream format reuse check

(cherry picked from commit 751ecf1c78191151e27f898bd58345744f35bead)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 3615cd1b
...@@ -2063,8 +2063,8 @@ static void Ogg_CreateES( demux_t *p_demux ) ...@@ -2063,8 +2063,8 @@ static void Ogg_CreateES( demux_t *p_demux )
p_stream->b_reinit = false; p_stream->b_reinit = false;
p_stream->b_initializing = false; p_stream->b_initializing = false;
p_stream->i_pre_skip = 0; 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 ); 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->p_es = NULL;
p_old_stream = 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