updated licenses info.
[platform/core/uifw/lottie-player.git] / inc / lottieanimation.h
index 4586ac8..1d3efce 100644 (file)
@@ -1,3 +1,21 @@
+/* 
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All rights reserved.
+ * 
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ * 
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ * 
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ */
+
 #ifndef _LOTTIE_ANIMATION_H_
 #define _LOTTIE_ANIMATION_H_
 
@@ -91,10 +109,10 @@ public:
      */
     Surface() = default;
 private:
-    uint32_t    *mBuffer;
-    size_t       mWidth;
-    size_t       mHeight;
-    size_t       mBytesPerLine;
+    uint32_t    *mBuffer{nullptr};
+    size_t       mWidth{0};
+    size_t       mHeight{0};
+    size_t       mBytesPerLine{0};
 };
 
 class LOT_EXPORT Animation {