[vlc-commits] demux: ogg: don't reuse streams without es
Francois Cartegnie
git at videolan.org
Sun Dec 16 21:26:19 CET 2018
vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Nov 6 10:01:37 2018 +0200| [d097485bc92dd07133ecaefa09a802b000dfbde2] | committer: Jean-Baptiste Kempf
demux: ogg: don't reuse streams without es
(cherry picked from commit 2120c5961e2a6c54bcf2bde7b18ecf1924ea8352)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=d097485bc92dd07133ecaefa09a802b000dfbde2
---
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 7506d83112..0b368b77f8 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -2164,7 +2164,7 @@ static void Ogg_CreateES( demux_t *p_demux )
if( p_old_stream &&
p_old_stream->fmt.i_cat == p_stream->fmt.i_cat &&
p_old_stream->fmt.i_codec == p_stream->fmt.i_codec &&
- p_old_stream->p_es != NULL )
+ p_old_stream->p_es != NULL && p_stream->p_es != NULL )
{
msg_Dbg( p_demux, "will reuse old stream to avoid glitch" );
More information about the vlc-commits
mailing list