Commit f688e667 authored by Gildas Bazin's avatar Gildas Bazin

* src/misc/configuration.c: bugfix (don't initialize and free p_module->object_lock
twice).
* src/misc/win32_specific.c: missing initializations.
* modules/demux/mp4/libmp4.c: was missing an #ifdef HAVE_ZLIB_H
parent 9a9f8a1e
......@@ -2,7 +2,7 @@
* libmp4.c : LibMP4 library for mp4 module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: libmp4.c,v 1.2 2002/08/10 20:05:21 fenrir Exp $
* $Id: libmp4.c,v 1.3 2002/08/11 08:30:01 gbazin Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
......@@ -1760,7 +1760,9 @@ int MP4_ReadBox_cmov( MP4_Stream_t *p_stream, MP4_Box_t *p_box )
MP4_Box_t *p_dcom;
MP4_Box_t *p_cmvd;
#ifdef HAVE_ZLIB_H
z_stream z_data;
#endif
u8 *p_data;
int i_result;
......
......@@ -2,7 +2,7 @@
* configuration.c management of the modules configuration
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: configuration.c,v 1.35 2002/08/08 00:35:11 sam Exp $
* $Id: configuration.c,v 1.36 2002/08/11 08:30:01 gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
......@@ -325,9 +325,6 @@ void config_Duplicate( module_t *p_module, module_config_t *p_orig )
return;
}
/* Initialize the global lock */
vlc_mutex_init( p_module, &p_module->object_lock );
/* Do the duplication job */
for( i = 0; i < i_lines ; i++ )
{
......@@ -408,9 +405,6 @@ void config_Free( module_t *p_module )
free( p_module->p_config );
p_module->p_config = NULL;
/* Remove the global lock */
vlc_mutex_destroy( &p_module->object_lock );
}
/*****************************************************************************
......
......@@ -2,7 +2,7 @@
* win32_specific.c: Win32 specific features
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: win32_specific.c,v 1.13 2002/07/29 19:05:47 gbazin Exp $
* $Id: win32_specific.c,v 1.14 2002/08/11 08:30:01 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Gildas Bazin <gbazin@netcourrier.com>
......@@ -59,6 +59,9 @@ void system_Init( vlc_t *p_this, int *pi_argc, char *ppsz_argv[] )
fprintf( stderr, "error: can't initiate WinSocks, error %i\n", i_err );
}
p_this->p_vlc->b_fast_mutex = 0;
p_this->p_vlc->i_win9x_cv = 0;
_fmode = _O_BINARY; /* sets the default file-translation mode */
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment