Fix SVACE issue
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / visuals / animated-vector-image / vector-rasterize-thread.cpp
index e20d23c..038b608 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -214,7 +214,7 @@ void VectorRasterizeThread::SetLoopCount( int32_t count )
 void VectorRasterizeThread::SetPlayRange( uint32_t startFrame, uint32_t endFrame )
 {
   // Make sure the range specified is between 0 and the total frame number
 void VectorRasterizeThread::SetPlayRange( uint32_t startFrame, uint32_t endFrame )
 {
   // Make sure the range specified is between 0 and the total frame number
-  if( startFrame >= 0 && startFrame < mTotalFrame && endFrame >= 0 && endFrame < mTotalFrame )
+  if( ( startFrame < mTotalFrame ) && ( endFrame < mTotalFrame ) )
   {
     // If the range is not in order swap values
     if( startFrame > endFrame )
   {
     // If the range is not in order swap values
     if( startFrame > endFrame )