[vlc-commits] input: unset pointer to titles on source deletion (fix #17944)
Francois Cartegnie
git at videolan.org
Fri Jan 27 18:18:14 CET 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jan 27 18:13:26 2017 +0100| [39ae821cf60b209793b767b37d173fb0ee6a9e61] | committer: Francois Cartegnie
input: unset pointer to titles on source deletion (fix #17944)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=39ae821cf60b209793b767b37d173fb0ee6a9e61
---
src/input/input.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/input/input.c b/src/input/input.c
index 3552928..9eead35 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -1446,6 +1446,10 @@ static void End( input_thread_t * p_input )
/* Clean up master */
InputSourceDestroy( priv->master );
+ priv->i_title = 0;
+ priv->title = NULL;
+ priv->i_title_offset = 0;
+ priv->i_seekpoint_offset = 0;
/* Unload all modules */
if( priv->p_es_out )
More information about the vlc-commits
mailing list