[matroska] r1217 - in trunk/libmatroska: matroska src

[email protected] Sun, 9 Oct 2005 18:30:27 +0400 (MSD)
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: robux4
Date: 2005-10-09 18:30:23 +0400 (Sun, 09 Oct 2005)
New Revision: 1217

Modified:
   trunk/libmatroska/matroska/KaxBlock.h
   trunk/libmatroska/src/KaxCues.cpp
   trunk/libmatroska/src/KaxCuesData.cpp
Log:
libmatroska: simplify a cast

Modified: trunk/libmatroska/matroska/KaxBlock.h
===================================================================
--- trunk/libmatroska/matroska/KaxBlock.h	2005-10-09 14:18:56 UTC (rev 1216)
+++ trunk/libmatroska/matroska/KaxBlock.h	2005-10-09 14:30:23 UTC (rev 1217)
@@ -294,7 +294,7 @@
 		void SetKeyframe(bool b_keyframe) { bIsKeyframe = b_keyframe; }
 		void SetDiscardable(bool b_discard) { bIsDiscardable = b_discard; }
 
-		operator KaxInternalBlock &() { return *static_cast<KaxInternalBlock*>(this); }
+		operator KaxInternalBlock &() { return *this; }
 };
 #endif // MATROSKA_VERSION
 

Modified: trunk/libmatroska/src/KaxCues.cpp
===================================================================
--- trunk/libmatroska/src/KaxCues.cpp	2005-10-09 14:18:56 UTC (rev 1216)
+++ trunk/libmatroska/src/KaxCues.cpp	2005-10-09 14:30:23 UTC (rev 1217)
@@ -3,7 +3,7 @@
 **
 ** <file/class description>
 **
-** Copyright (C) 2002-2004 Steve Lhomme.  All rights reserved.
+** Copyright (C) 2002-2005 Steve Lhomme.  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

Modified: trunk/libmatroska/src/KaxCuesData.cpp
===================================================================
--- trunk/libmatroska/src/KaxCuesData.cpp	2005-10-09 14:18:56 UTC (rev 1216)
+++ trunk/libmatroska/src/KaxCuesData.cpp	2005-10-09 14:30:23 UTC (rev 1217)
@@ -3,7 +3,7 @@
 **
 ** <file/class description>
 **
-** Copyright (C) 2002-2004 Steve Lhomme.  All rights reserved.
+** Copyright (C) 2002-2005 Steve Lhomme.  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