aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--mediaplugin/src/media/UMediaPlugin.pas1
-rw-r--r--mediaplugin/src/plugins/media/ffmpeg/Makefile.am2
-rw-r--r--mediaplugin/src/plugins/media/ffmpeg/Makefile.in2
3 files changed, 3 insertions, 2 deletions
diff --git a/mediaplugin/src/media/UMediaPlugin.pas b/mediaplugin/src/media/UMediaPlugin.pas
index eb4cf395..4baa778a 100644
--- a/mediaplugin/src/media/UMediaPlugin.pas
+++ b/mediaplugin/src/media/UMediaPlugin.pas
@@ -440,6 +440,7 @@ begin
begin
FileInfo := Iter.Next();
ModuleFile := MediaPluginPath.Append(FileInfo.Name);
+ Module := INVALID_MODULEHANDLE_VALUE;
if (not LoadModule(Module, PChar(ModuleFile.ToNative))) then
begin
Log.LogInfo('Failed to load media plugin: "' + FileInfo.Name.ToNative + '"',
diff --git a/mediaplugin/src/plugins/media/ffmpeg/Makefile.am b/mediaplugin/src/plugins/media/ffmpeg/Makefile.am
index 12533bc8..7f38d2f6 100644
--- a/mediaplugin/src/plugins/media/ffmpeg/Makefile.am
+++ b/mediaplugin/src/plugins/media/ffmpeg/Makefile.am
@@ -9,4 +9,4 @@ libffmpegplugin_la_LDFLAGS = -shared -dynamic -avoid-version \
$(LDFLAGS)
compile: libffmpegplugin.la
- cp .libs/*$(LIB_EXT) $(PLUGIN_DIR)
+ cp .libs/libffmpegplugin$(LIB_EXT) $(PLUGIN_DIR)
diff --git a/mediaplugin/src/plugins/media/ffmpeg/Makefile.in b/mediaplugin/src/plugins/media/ffmpeg/Makefile.in
index c465dbd0..56613133 100644
--- a/mediaplugin/src/plugins/media/ffmpeg/Makefile.in
+++ b/mediaplugin/src/plugins/media/ffmpeg/Makefile.in
@@ -756,7 +756,7 @@ uninstall-am: uninstall-libLTLIBRARIES
compile: libffmpegplugin.la
- cp .libs/*$(LIB_EXT) $(PLUGIN_DIR)
+ cp .libs/libffmpegplugin$(LIB_EXT) $(PLUGIN_DIR)
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.