]> git.sesse.net Git - vlc/commitdiff
mkv: typedef struct is useless in C++
authorHugo Beauzée-Luyssen <beauze.h@gmail.com>
Mon, 17 Oct 2011 17:59:21 +0000 (19:59 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 18 Oct 2011 10:21:43 +0000 (12:21 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/demux/mkv/mkv.hpp

index af591a8294c546d9b61689a9ae65e71dee423b26..de64aec75827172d2781e4605fed96b881a35c45 100644 (file)
@@ -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_ */