mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
rtsp-stream: Fix compiler warnings
rtsp-stream.c:1351:3: error: non-void function 'gst_rtsp_stream_get_retransmission_time' should return a value [-Wreturn-type] g_return_if_fail (GST_IS_RTSP_STREAM (stream)); ^ rtsp-stream.c:1384:3: error: non-void function 'gst_rtsp_stream_get_retransmission_pt' should return a value [-Wreturn-type] g_return_if_fail (GST_IS_RTSP_STREAM (stream)); ^
This commit is contained in:
parent
4f40781fff
commit
06bfc0697b
1 changed files with 2 additions and 2 deletions
|
@ -1348,7 +1348,7 @@ gst_rtsp_stream_get_retransmission_time (GstRTSPStream * stream)
|
|||
{
|
||||
GstClockTime ret;
|
||||
|
||||
g_return_if_fail (GST_IS_RTSP_STREAM (stream));
|
||||
g_return_val_if_fail (GST_IS_RTSP_STREAM (stream), 0);
|
||||
|
||||
g_mutex_lock (&stream->priv->lock);
|
||||
ret = stream->priv->rtx_time;
|
||||
|
@ -1381,7 +1381,7 @@ gst_rtsp_stream_get_retransmission_pt (GstRTSPStream * stream)
|
|||
{
|
||||
guint rtx_pt;
|
||||
|
||||
g_return_if_fail (GST_IS_RTSP_STREAM (stream));
|
||||
g_return_val_if_fail (GST_IS_RTSP_STREAM (stream), 0);
|
||||
|
||||
g_mutex_lock (&stream->priv->lock);
|
||||
rtx_pt = stream->priv->rtx_pt;
|
||||
|
|
Loading…
Reference in a new issue