[vlc-commits] demux: ogg: drop useless initializers

Francois Cartegnie git at videolan.org
Thu Sep 12 21:36:05 CEST 2013


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Sep 12 21:27:35 2013 +0200| [9534914d790021d96375a01e34bc369a196e86ef] | committer: Francois Cartegnie

demux: ogg: drop useless initializers

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

 modules/demux/ogg.c |    7 -------
 1 file changed, 7 deletions(-)

diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
index 749c346..81fb2de 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -1156,13 +1156,6 @@ static int Ogg_FindLogicalStreams( demux_t *p_demux )
                 TAB_APPEND( p_ogg->i_streams, p_ogg->pp_stream, p_stream );
 
                 memset( p_stream, 0, sizeof(logical_stream_t) );
-                p_stream->p_headers = 0;
-                p_stream->i_secondary_header_packets = 0;
-
-                p_stream->i_keyframe_offset = 0;
-                p_stream->i_skip_frames = 0;
-
-                p_stream->i_data_start = 0;
 
                 es_format_Init( &p_stream->fmt, 0, 0 );
                 es_format_Init( &p_stream->fmt_old, 0, 0 );



More information about the vlc-commits mailing list