Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
454
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
c992c9ca
Commit
c992c9ca
authored
21 years ago
by
Samuel Hocevar
Browse files
Options
Downloads
Patches
Plain Diff
* src/misc/modules_plugin.h.in: Added a missing return value that caused
module loading to fail.
parent
9ca675f3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/misc/modules_plugin.h.in
+9
-2
9 additions, 2 deletions
src/misc/modules_plugin.h.in
with
9 additions
and
2 deletions
src/misc/modules_plugin.h.in
+
9
−
2
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";
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment