[vlc-devel] commit: Init the variable (CID 239) ( Rémi Duraffort )
git version control
git at videolan.org
Wed Oct 1 20:36:22 CEST 2008
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Oct 1 20:27:36 2008 +0200| [47be9baaa0b1c3448249dfd35a7339c48317d4e4] | committer: Rémi Duraffort
Init the variable (CID 239)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=47be9baaa0b1c3448249dfd35a7339c48317d4e4
---
src/video_output/vout_intf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c
index 89c972b..f12b24b 100644
--- a/src/video_output/vout_intf.c
+++ b/src/video_output/vout_intf.c
@@ -495,7 +495,7 @@ static int VoutSnapshotPip( vout_thread_t *p_vout, image_handler_t *p_image, pic
*/
static char *VoutSnapshotGetDefaultDirectory( void )
{
- char *psz_path;
+ char *psz_path = NULL;
#if defined(__APPLE__) || defined(SYS_BEOS)
if( asprintf( &psz_path, "%s/Desktop",
More information about the vlc-devel
mailing list