[vlc-commits] medialibrary: Fix missing initialization
Hugo Beauzée-Luyssen
git at videolan.org
Thu Jun 27 11:20:12 CEST 2019
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Jun 27 11:19:44 2019 +0200| [c0b878158c93d742b3146afff6a06f4a928693e2] | committer: Hugo Beauzée-Luyssen
medialibrary: Fix missing initialization
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c0b878158c93d742b3146afff6a06f4a928693e2
---
modules/misc/medialibrary/MetadataExtractor.cpp | 3 ++-
modules/misc/medialibrary/Thumbnailer.cpp | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/misc/medialibrary/MetadataExtractor.cpp b/modules/misc/medialibrary/MetadataExtractor.cpp
index 0047b7b0fc..a9c714da1a 100644
--- a/modules/misc/medialibrary/MetadataExtractor.cpp
+++ b/modules/misc/medialibrary/MetadataExtractor.cpp
@@ -25,7 +25,8 @@
#include "medialibrary.h"
MetadataExtractor::MetadataExtractor( vlc_object_t* parent )
- : m_obj( parent )
+ : m_currentCtx( nullptr )
+ , m_obj( parent )
{
}
diff --git a/modules/misc/medialibrary/Thumbnailer.cpp b/modules/misc/medialibrary/Thumbnailer.cpp
index 8e839ba1f6..78968501ad 100644
--- a/modules/misc/medialibrary/Thumbnailer.cpp
+++ b/modules/misc/medialibrary/Thumbnailer.cpp
@@ -32,6 +32,7 @@
Thumbnailer::Thumbnailer( vlc_medialibrary_module_t* ml )
: m_ml( ml )
+ , m_currentContext( nullptr )
, m_thumbnailer( nullptr, &vlc_thumbnailer_Release )
{
m_thumbnailer.reset( vlc_thumbnailer_Create( VLC_OBJECT( ml ) ) );
More information about the vlc-commits
mailing list