/*
- * 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.
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 )