[vlc-commits] ebml: Removing useless cast.

Hugo Beauzée-Luyssen git at videolan.org
Tue Oct 18 12:26:54 CEST 2011


vlc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Mon Oct 17 17:37:45 2011 +0200| [c8fb3f58cf1baebabb254225f0eece77e3813313] | committer: Jean-Baptiste Kempf

ebml: Removing useless cast.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/demux/mkv/Ebml_parser.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/mkv/Ebml_parser.cpp b/modules/demux/mkv/Ebml_parser.cpp
index 45c30b5..505b424 100644
--- a/modules/demux/mkv/Ebml_parser.cpp
+++ b/modules/demux/mkv/Ebml_parser.cpp
@@ -77,7 +77,7 @@ EbmlElement* EbmlParser::UnGet( uint64 i_block_pos, uint64 i_cluster_pos )
     if ( m_el[1] && m_el[1]->GetElementPosition() == i_cluster_pos )
     {
         m_es->I_O().setFilePointer( i_block_pos, seek_beginning );
-        return (EbmlMaster*) m_el[1];
+        return m_el[1];
     }
     else
     {



More information about the vlc-commits mailing list