From 73fce75ed0ab1f728bd053974af5cee3494e6df2 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Mardelle Date: Mon, 23 Jul 2012 11:03:54 +0200 Subject: [PATCH] definitions.h: initialize TransitionInfo [Coverity 14/14] by Mikko Rapeli --- src/definitions.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/definitions.h b/src/definitions.h index 3d8ce6a8..b663fc6b 100644 --- a/src/definitions.h +++ b/src/definitions.h @@ -104,7 +104,8 @@ public: ItemInfo() : track(0) {}; }; -struct TransitionInfo { +class TransitionInfo { +public: /** startPos is the position where the clip starts on the track */ GenTime startPos; /** endPos is the duration where the clip ends on the track */ @@ -115,6 +116,10 @@ struct TransitionInfo { int a_track; /** Does the user request for a special a_track */ bool forceTrack; + TransitionInfo() : + b_track(0), + a_track(0), + forceTrack(0) {}; }; class MltVideoProfile { -- 2.39.2