[vlc-devel] commit: Init the variable (CID 239) ( Rémi Duraffort )
git version control
git at videolan.org
Thu Oct 2 21:13:30 CEST 2008
vlc | branch: 0.9-bugfix | Rémi Duraffort <ivoire at videolan.org> | Wed Oct 1 20:27:36 2008 +0200| [6b30077e7e1a6cd2b90fbb2c86f028053dddab66] | committer: Derk-Jan Hartman
Init the variable (CID 239)
(cherry picked from commit 47be9baaa0b1c3448249dfd35a7339c48317d4e4)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6b30077e7e1a6cd2b90fbb2c86f028053dddab66
---
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 910987d..73993f7 100644
--- a/src/video_output/vout_intf.c
+++ b/src/video_output/vout_intf.c
@@ -488,7 +488,7 @@ static int VoutSnapshotPip( vout_thread_t *p_vout, image_handler_t *p_image, pic
*/
static char *VoutSnapshotGetDefaultDirectory( vout_thread_t *p_vout )
{
- 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