rtsprange: Avoid going through fractions for large numbers
authorOlivier CrĂȘte <olivier.crete@collabora.com>
Fri, 22 Feb 2013 18:20:21 +0000 (13:20 -0500)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 11 Mar 2013 09:41:17 +0000 (10:41 +0100)
commit3cfec4de73be0825410498f9538552cd5a2ffc0a
tree1828aed6cc2fc38988ba38c71f5ab7ae113d87ba
parent203c27b42bf462fc180c92d4ec7d7c9c1063a900
rtsprange: Avoid going through fractions for large numbers

If the number of seconds exceeds 2^31, then it will be truncated if the
conversion is done using fractions, so multiply it directly.
gst-libs/gst/rtsp/gstrtsprange.c