[vlc-devel] commit: input: assert in InputSourceInit() if there is no MRL to play ( Derk-Jan Hartman )
git version control
git at videolan.org
Thu Jun 25 18:41:24 CEST 2009
vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Thu Jun 25 17:54:16 2009 +0200| [3c4a11c40e1081ef106766ad6e8e1f43b05dc5c2] | committer: Derk-Jan Hartman
input: assert in InputSourceInit() if there is no MRL to play
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3c4a11c40e1081ef106766ad6e8e1f43b05dc5c2
---
src/input/input.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index 93026e1..6bbaba8 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -2338,6 +2338,7 @@ static int InputSourceInit( input_thread_t *p_input,
char *psz_var_demux = NULL;
double f_fps;
+ assert( psz_mrl );
char *psz_dup = strdup( psz_mrl );
if( psz_dup == NULL )
More information about the vlc-devel
mailing list