]> git.sesse.net Git - vlc/commitdiff
record: forgotten initializations
authorErwan Tulou <erwan10@videolan.org>
Sat, 29 Aug 2009 20:07:38 +0000 (22:07 +0200)
committerErwan Tulou <erwan10@videolan.org>
Sat, 29 Aug 2009 20:09:46 +0000 (22:09 +0200)
modules/stream_out/record.c

index 44cf4245bfb8055a6e50b490f86d2e477b024317..c64168634f9262570101abd4e28a58f38cbf78db 100644 (file)
@@ -306,8 +306,8 @@ static int OutputNew( sout_stream_t *p_stream,
                       const char *psz_muxer, const char *psz_prefix, const char *psz_extension  )
 {
     sout_stream_sys_t *p_sys = p_stream->p_sys;
-    char *psz_file;
-    char *psz_output;
+    char *psz_file = NULL;
+    char *psz_output = NULL;
     int i_count;
 
     if( asprintf( &psz_file, "%s%s%s",