vlc | branch: master | Steve Lhomme <[email protected]> | Thu Jul  6 11:16:32 
2017 +0200| [380b0a9c06ee9c9c3db6a31b71cb05bbbba634bc] | committer: 
Jean-Baptiste Kempf

demux:mkv: remove redundant memset

It's already done in es_format_Init()

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

 modules/demux/mkv/matroska_segment_parse.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/demux/mkv/matroska_segment_parse.cpp 
b/modules/demux/mkv/matroska_segment_parse.cpp
index df44363bf5..9abed7b684 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -225,7 +225,6 @@ void matroska_segment_c::ParseTrackEntry( const 
KaxTrackEntry *m )
     track.i_last_dts             = 0;
     track.i_skip_until_fpos      = -1;
 
-    std::memset(    &track.fmt, 0, sizeof( track.fmt ) );
     es_format_Init( &track.fmt, UNKNOWN_ES, 0 );
 
     track.fmt.psz_language       = strdup("English");

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to