flvdemux: remove duplicated segment initialization

It's also done in gst_flv_demux_cleanup().

https://bugzilla.gnome.org/show_bug.cgi?id=779106
This commit is contained in:
ChangBok Chae 2017-02-23 09:31:36 +09:00 committed by Tim-Philipp Müller
parent 6b42569ded
commit 3d19d6d8bc

View file

@ -3624,7 +3624,6 @@ gst_flv_demux_init (GstFlvDemux * demux)
demux->adapter = gst_adapter_new ();
demux->flowcombiner = gst_flow_combiner_new ();
gst_segment_init (&demux->segment, GST_FORMAT_TIME);
demux->own_index = FALSE;