[vlc-commits] mkv: removed unnecessary variable EbmlParser::mi_remain_size
Filip Roséen
git at videolan.org
Sat May 7 20:33:41 CEST 2016
vlc | branch: master | Filip Roséen <filip at videolabs.io> | Fri May 6 19:08:45 2016 +0200| [35cf5f38143560079f92bcb96b3d1931bad486f7] | committer: Jean-Baptiste Kempf
mkv: removed unnecessary variable EbmlParser::mi_remain_size
Since this data-member is effectively unused after initialization, it
has been removed.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=35cf5f38143560079f92bcb96b3d1931bad486f7
---
modules/demux/mkv/Ebml_parser.cpp | 1 -
modules/demux/mkv/Ebml_parser.hpp | 1 -
2 files changed, 2 deletions(-)
diff --git a/modules/demux/mkv/Ebml_parser.cpp b/modules/demux/mkv/Ebml_parser.cpp
index 7bcce84..d0abab7 100644
--- a/modules/demux/mkv/Ebml_parser.cpp
+++ b/modules/demux/mkv/Ebml_parser.cpp
@@ -39,7 +39,6 @@ EbmlParser::EbmlParser( EbmlStream *es, EbmlElement *el_start, demux_t *p_demux,
mb_keep( false ),
mb_dummy( b_with_dummy )
{
- mi_remain_size[0] = el_start->GetSize();
memset( m_el, 0, sizeof( *m_el ) * M_EL_MAXSIZE);
m_el[0] = el_start;
}
diff --git a/modules/demux/mkv/Ebml_parser.hpp b/modules/demux/mkv/Ebml_parser.hpp
index 5dc425f..596e7ec 100644
--- a/modules/demux/mkv/Ebml_parser.hpp
+++ b/modules/demux/mkv/Ebml_parser.hpp
@@ -60,7 +60,6 @@ class EbmlParser
EbmlStream *m_es;
int mi_level;
EbmlElement *m_el[M_EL_MAXSIZE];
- int64_t mi_remain_size[10];
EbmlElement *m_got;
More information about the vlc-commits
mailing list