[vlc-commits] demux: ogg: fix old stream format reuse check
Francois Cartegnie
git at videolan.org
Wed Apr 8 18:18:28 CEST 2015
vlc/vlc-2.2 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Apr 6 18:40:03 2015 +0200| [f1f2845e600809d6215f2018363ffaf03a8b22e0] | committer: Jean-Baptiste Kempf
demux: ogg: fix old stream format reuse check
(cherry picked from commit 751ecf1c78191151e27f898bd58345744f35bead)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=f1f2845e600809d6215f2018363ffaf03a8b22e0
---
modules/demux/ogg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
index 3dea8a9..cf0f16d 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -2063,8 +2063,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;
More information about the vlc-commits
mailing list