From c1ede049eb0c15e3a2452f461b05d7fc4273ff1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 16 Nov 2020 10:34:41 +0200 Subject: [PATCH] rtsp-media: Use guint64 for setting the size-time property on rtpstorage Otherwise this will cause memory corruption as the property expects a 64 bit integer. Part-of: --- gst/rtsp-server/rtsp-media.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtsp-server/rtsp-media.c b/gst/rtsp-server/rtsp-media.c index 69f63d9720..7e548ef971 100644 --- a/gst/rtsp-server/rtsp-media.c +++ b/gst/rtsp-server/rtsp-media.c @@ -1659,7 +1659,7 @@ update_stream_storage_size (GstRTSPMedia * media, GstRTSPStream * stream, sessid, &storage); if (storage) { - guint size_time = 0; + guint64 size_time = 0; if (!gst_rtsp_stream_is_tcp_receiver (stream)) size_time = (media->priv->latency + 50) * GST_MSECOND;