Commit a061c137 authored by Guillaume Desmottes's avatar Guillaume Desmottes

parse_npt_range: init output variable

Fix regression in unit test introduced by
edd212d6
parent 201f5031
......@@ -138,6 +138,14 @@ dlna_src_parse_npt_range (GstDlnaSrc * dlna_src, const gchar * field_str,
{
gchar *field, *cursor;
/* Init output variables */
if (start)
*start = GST_CLOCK_TIME_NONE;
if (stop)
*stop = GST_CLOCK_TIME_NONE;
if (total)
*total = 0;
/* Convert everything to upper case */
field = g_ascii_strup (field_str, -1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment