[vlmc-devel] ClipHelper: Fix assignment of variable to itself, update internal members

Rohit Yadav git at videolan.org
Wed Feb 29 16:06:46 CET 2012


vlmc | branch: master | Rohit Yadav <rohityadav89 at gmail.com> | Wed Feb 29 20:42:43 2012 +0530| [df089c31334f6ea79ec5f88af67df91c9618e8ea] | committer: Rohit Yadav

ClipHelper: Fix assignment of variable to itself, update internal members

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=df089c31334f6ea79ec5f88af67df91c9618e8ea
---

 src/Workflow/ClipHelper.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Workflow/ClipHelper.cpp b/src/Workflow/ClipHelper.cpp
index eccec27..26bb0b4 100644
--- a/src/Workflow/ClipHelper.cpp
+++ b/src/Workflow/ClipHelper.cpp
@@ -57,9 +57,9 @@ void
 ClipHelper::setBoundaries( qint64 begin, qint64 end )
 {
     if ( begin >= m_clip->m_begin )
-        begin = begin;
+        m_begin = begin;
     if ( end <= m_clip->m_end )
-        end = end;
+        m_end = end;
     Workflow::Helper::setBoundaries( begin, end );
 }
 



More information about the Vlmc-devel mailing list