flmux: Make sure best_time is initialized

This commit is contained in:
Nicolas Dufresne 2015-06-12 17:44:51 -04:00
parent dc513eb949
commit 717265ebfb

View file

@ -1488,7 +1488,7 @@ gst_flv_mux_handle_buffer (GstCollectPads * pads, GstCollectData * cdata,
{
GstFlvMux *mux = GST_FLV_MUX (user_data);
GstFlvPad *best;
gint64 best_time;
gint64 best_time = GST_CLOCK_STIME_NONE;
GstFlowReturn ret;
if (mux->state == GST_FLV_MUX_STATE_HEADER) {