[vlc-devel] [PATCH] input: fix use after free
Tristan Matthews
le.businessman at gmail.com
Fri Aug 1 14:38:44 CEST 2014
---
src/input/input.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index 87bbfe8..ad0fc37 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -2413,11 +2413,11 @@ static int InputSourceInit( input_thread_t *p_input,
if( in->p_demux == NULL )
{
+ msg_Err( p_input, "no suitable demux module for `%s/%s://%s'",
+ psz_access, psz_demux, psz_path );
stream_Delete( p_stream );
if( vlc_object_alive( p_input ) )
{
- msg_Err( p_input, "no suitable demux module for `%s/%s://%s'",
- psz_access, psz_demux, psz_path );
if( !b_in_can_fail )
dialog_Fatal( VLC_OBJECT( p_input ),
_("VLC can't recognize the input's format"),
--
1.9.1
More information about the vlc-devel
mailing list