projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27d256d
)
rtsp-media: Don't set float on a gint64 variable
author
Edward Hervey
<edward@centricular.com>
Mon, 20 Nov 2017 15:48:55 +0000
(16:48 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Tue, 21 Nov 2017 06:59:15 +0000
(07:59 +0100)
Just use 0. Fixes 'undefined' behaviour from clang
gst/rtsp-server/rtsp-media.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-media.c
b/gst/rtsp-server/rtsp-media.c
index
f9914b0
..
b554507
100644
(file)
--- a/
gst/rtsp-server/rtsp-media.c
+++ b/
gst/rtsp-server/rtsp-media.c
@@
-703,7
+703,7
@@
check_seekable (GstRTSPMedia * media)
gint64 start, end;
gst_query_parse_seeking (query, &format, &seekable, &start, &end);
- priv->seekable = seekable ? G_MAXINT64 : 0
.0
;
+ priv->seekable = seekable ? G_MAXINT64 : 0;
}
gst_query_unref (query);