[vlc-commits] mkv: typedef struct is useless in C++
Hugo Beauzée-Luyssen
git at videolan.org
Tue Oct 18 12:26:56 CEST 2011
vlc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Mon Oct 17 19:59:21 2011 +0200| [2b28165dcc9a701dd670b4013b25a4496af746f4] | committer: Jean-Baptiste Kempf
mkv: typedef struct is useless in C++
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2b28165dcc9a701dd670b4013b25a4496af746f4
---
modules/demux/mkv/mkv.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/demux/mkv/mkv.hpp b/modules/demux/mkv/mkv.hpp
index af591a8..de64aec 100644
--- a/modules/demux/mkv/mkv.hpp
+++ b/modules/demux/mkv/mkv.hpp
@@ -174,7 +174,7 @@ struct matroska_stream_c
/*****************************************************************************
* definitions of structures and functions used by this plugins
*****************************************************************************/
-typedef struct
+struct mkv_track_t
{
// ~mkv_track_t();
@@ -220,9 +220,9 @@ typedef struct
int i_compression_type;
KaxContentCompSettings *p_compression_data;
-} mkv_track_t;
+};
-typedef struct
+struct mkv_index_t
{
int i_track;
int i_block_number;
@@ -231,7 +231,7 @@ typedef struct
int64_t i_time;
bool b_key;
-} mkv_index_t;
+};
#endif /* _MKV_HPP_ */
More information about the vlc-commits
mailing list