[vlc-commits] ogg: fix potential NULL dereference
Rémi Denis-Courmont
git at videolan.org
Sat Nov 5 09:59:52 CET 2016
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Nov 5 10:59:32 2016 +0200| [0aaf4d6dcaf48dd522d8db38a48e1c8fe99960b7] | committer: Rémi Denis-Courmont
ogg: fix potential NULL dereference
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0aaf4d6dcaf48dd522d8db38a48e1c8fe99960b7
---
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 b388b04..f9a8c60 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -249,7 +249,7 @@ static int Open( vlc_object_t * p_this )
while ( !p_sys->b_preparsing_done && p_demux->pf_demux( p_demux ) > 0 )
{}
- if ( p_sys->b_preparsing_done && p_demux->p_input->b_preparsing )
+ if ( p_sys->b_preparsing_done && p_demux->b_preparsing )
Ogg_CreateES( p_demux );
return VLC_SUCCESS;
More information about the vlc-commits
mailing list