Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
c992c9ca
Commit
c992c9ca
authored
Oct 04, 2003
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/misc/modules_plugin.h.in: Added a missing return value that caused
module loading to fail.
parent
9ca675f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
src/misc/modules_plugin.h.in
src/misc/modules_plugin.h.in
+9
-2
No files found.
src/misc/modules_plugin.h.in
View file @
c992c9ca
...
...
@@ -2,7 +2,7 @@
* modules_plugin.h : Plugin management functions used by the core application.
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: modules_plugin.h.in,v 1.1
3 2003/10/04 15:04:49
sam Exp $
* $Id: modules_plugin.h.in,v 1.1
4 2003/10/04 15:49:13
sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -56,6 +56,8 @@ static int module_load( const MYCHAR * psz_filename, module_handle_t * handle )
/* Destroy our image, we won't need it */
NSDestroyObjectFileImage( image );
return 0;
#elif defined(HAVE_IMAGE_H)
*handle = load_add_on( psz_filename );
return( *handle < 0 );
...
...
@@ -218,7 +220,12 @@ static const char * module_error( char *psz_buffer )
const char *psz_file, *psz_err;
int i_errnum;
NSLinkEditError( &errors, &i_errnum, &psz_file, &psz_err );
return psz_err;
if( *psz_err )
{
return psz_err;
}
return "failed";
#elif defined(HAVE_IMAGE_H)
return "failed";
...
...
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