mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
rtspsrc: avoid potentially overflowing expression
https://bugzilla.gnome.org/show_bug.cgi?id=757569
This commit is contained in:
parent
84f436f122
commit
da5c8a954c
1 changed files with 1 additions and 1 deletions
|
@ -1193,7 +1193,7 @@ gst_rtspsrc_get_property (GObject * object, guint prop_id, GValue * value,
|
||||||
{
|
{
|
||||||
guint64 timeout;
|
guint64 timeout;
|
||||||
|
|
||||||
timeout = rtspsrc->tcp_timeout.tv_sec * G_USEC_PER_SEC +
|
timeout = ((guint64) rtspsrc->tcp_timeout.tv_sec) * G_USEC_PER_SEC +
|
||||||
rtspsrc->tcp_timeout.tv_usec;
|
rtspsrc->tcp_timeout.tv_usec;
|
||||||
g_value_set_uint64 (value, timeout);
|
g_value_set_uint64 (value, timeout);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue