projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84f436f
)
rtspsrc: avoid potentially overflowing expression
author
Jihae Yi
<jihae.yi@samsung.com>
Wed, 4 Nov 2015 05:51:19 +0000
(14:51 +0900)
committer
Sebastian Dröge
<sebastian@centricular.com>
Thu, 24 Mar 2016 12:28:50 +0000
(14:28 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=757569
gst/rtsp/gstrtspsrc.c
patch
|
blob
|
history
diff --git
a/gst/rtsp/gstrtspsrc.c
b/gst/rtsp/gstrtspsrc.c
index
a57fff0
..
8ff5065
100644
(file)
--- a/
gst/rtsp/gstrtspsrc.c
+++ b/
gst/rtsp/gstrtspsrc.c
@@
-1193,7
+1193,7
@@
gst_rtspsrc_get_property (GObject * object, guint prop_id, GValue * value,
{
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;
g_value_set_uint64 (value, timeout);
break;