[vlc-devel] [PATCH] fix use of uninitialized variable on error

Rémi Denis-Courmont remi at remlab.net
Fri Aug 31 16:34:55 CEST 2012


Merged, thanks

Le vendredi 31 août 2012 03:37:15, Ludovic Fauvet a écrit :
> ---
>  src/input/input.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/input/input.c b/src/input/input.c
> index aabb3d6..afc01ad 100644
> --- a/src/input/input.c
> +++ b/src/input/input.c
> @@ -2345,7 +2345,7 @@ static int InputSourceInit( input_thread_t 
*p_input,
>                              input_source_t *in, const char *psz_mrl,
>                              const char *psz_forced_demux, bool
> b_in_can_fail ) {
> -    const char *psz_access, *psz_demux, *psz_path, *psz_anchor;
> +    const char *psz_access, *psz_demux, *psz_path, *psz_anchor = 
NULL;
>      char *psz_var_demux = NULL;
>      double f_fps;



More information about the vlc-devel mailing list