[vlmc-devel] VLCSource: Fix uninitialized values
Hugo Beauzée-Luyssen
git at videolan.org
Mon Feb 24 20:08:45 CET 2014
vlmc | branch: ibackend | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Feb 24 19:28:50 2014 +0200| [84f144358e90baa99c51a5a8ec8ae86ffb7df914] | committer: Hugo Beauzée-Luyssen
VLCSource: Fix uninitialized values
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=84f144358e90baa99c51a5a8ec8ae86ffb7df914
---
src/Backend/VLC/VLCSource.cpp | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/Backend/VLC/VLCSource.cpp b/src/Backend/VLC/VLCSource.cpp
index 5b71a96..e56d3cc 100644
--- a/src/Backend/VLC/VLCSource.cpp
+++ b/src/Backend/VLC/VLCSource.cpp
@@ -31,8 +31,15 @@ using namespace Backend::VLC;
VLCSource::VLCSource( VLCBackend* backend, const QString& path )
: m_backend( backend )
+ , m_width( 0 )
+ , m_height( 0 )
+ , m_fps( .0f )
+ , m_nbVideoTracks( 0 )
+ , m_nbAudioTracks( 0 )
+ , m_length( 0 )
, m_snapshot( NULL )
, m_isParsed( false )
+ , m_nbFrames( 0 )
{
m_media = new LibVLCpp::Media( backend->vlcInstance(), "file://" + path );
}
More information about the Vlmc-devel
mailing list