[vlc-commits] DVDread: Fix crash with Brave DVD
Jean-Baptiste Kempf
git at videolan.org
Wed Apr 9 15:39:48 CEST 2014
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Apr 9 15:02:02 2014 +0200| [85365c630dc54fe3be69013179160a7def6f0b0d] | committer: Jean-Baptiste Kempf
DVDread: Fix crash with Brave DVD
Arccos protection system!
Ref #6649
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=85365c630dc54fe3be69013179160a7def6f0b0d
---
modules/access/dvdread.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/modules/access/dvdread.c b/modules/access/dvdread.c
index 9b0c40f..db37a12 100644
--- a/modules/access/dvdread.c
+++ b/modules/access/dvdread.c
@@ -726,7 +726,11 @@ static int DvdReadSetArea( demux_t *p_demux, int i_title, int i_chapter,
{
int i_start_cell, i_end_cell;
- if( p_sys->p_title != NULL ) DVDCloseFile( p_sys->p_title );
+ if( p_sys->p_title != NULL )
+ {
+ DVDCloseFile( p_sys->p_title );
+ p_sys->p_title = NULL;
+ }
if( p_vts != NULL ) ifoClose( p_vts );
p_sys->i_title = i_title;
More information about the vlc-commits
mailing list