Commit 15b81909 authored by Ilkka Ollakka's avatar Ilkka Ollakka

URational: handle also plain integers

parent 11785176
......@@ -1278,6 +1278,10 @@ int (var_InheritURational)(vlc_object_t *object,
n = 0;
d = 0;
}
} else if ( *next == '\0' ) {
/* plain integer given */
*num = n;
*den = 1;
}
if (n > 0 && d > 0)
......
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