Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
5982dfbd
Commit
5982dfbd
authored
May 15, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./include/modules_inner.h: fixed a bug in module reinitialization,
which should fix crashes after a long pause.
parent
3286de8c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
include/modules.h
include/modules.h
+2
-2
include/modules_inner.h
include/modules_inner.h
+2
-2
No files found.
include/modules.h
View file @
5982dfbd
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* modules.h : Module management functions.
* modules.h : Module management functions.
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: modules.h,v 1.4
8 2002/04/24 00:36:24
sam Exp $
* $Id: modules.h,v 1.4
9 2002/05/15 00:02:27
sam Exp $
*
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Authors: Samuel Hocevar <sam@zoy.org>
*
*
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
*****************************************************************************/
*****************************************************************************/
/* Number of tries before we unload an unused module */
/* Number of tries before we unload an unused module */
#define MODULE_HIDE_DELAY
1000
0
#define MODULE_HIDE_DELAY
5
0
#define MODULE_SHORTCUT_MAX 10
#define MODULE_SHORTCUT_MAX 10
/* The module handle type. */
/* The module handle type. */
...
...
include/modules_inner.h
View file @
5982dfbd
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* modules_inner.h : Macros used from within a module.
* modules_inner.h : Macros used from within a module.
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: modules_inner.h,v 1.1
8 2002/05/03 20:49:30
sam Exp $
* $Id: modules_inner.h,v 1.1
9 2002/05/15 00:02:27
sam Exp $
*
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Authors: Samuel Hocevar <sam@zoy.org>
*
*
...
@@ -144,7 +144,6 @@
...
@@ -144,7 +144,6 @@
#define MODULE_ACTIVATE_START \
#define MODULE_ACTIVATE_START \
int __VLC_SYMBOL( ActivateModule ) ( module_t *p_module ) \
int __VLC_SYMBOL( ActivateModule ) ( module_t *p_module ) \
{ \
{ \
config_SetCallbacks( p_module->p_config, p_config ); \
p_module->p_functions = \
p_module->p_functions = \
( module_functions_t * )malloc( sizeof( module_functions_t ) ); \
( module_functions_t * )malloc( sizeof( module_functions_t ) ); \
if( p_module->p_functions == NULL ) \
if( p_module->p_functions == NULL ) \
...
@@ -152,6 +151,7 @@
...
@@ -152,6 +151,7 @@
return( -1 ); \
return( -1 ); \
} \
} \
STORE_SYMBOLS; \
STORE_SYMBOLS; \
config_SetCallbacks( p_module->p_config, p_config ); \
do {
do {
#define MODULE_ACTIVATE_STOP \
#define MODULE_ACTIVATE_STOP \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment