mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
hlsdemux: g_return_if_fail in function with return type
Need to use g_return_val_if_fail() when the function returns a type, in this case a gboolean
This commit is contained in:
parent
54ce23e0cb
commit
9dcf650a17
1 changed files with 2 additions and 2 deletions
|
@ -1050,8 +1050,8 @@ gst_m3u8_client_has_next_fragment (GstM3U8Client * client, gboolean forward)
|
|||
{
|
||||
gboolean ret;
|
||||
|
||||
g_return_if_fail (client != NULL);
|
||||
g_return_if_fail (client->current != NULL);
|
||||
g_return_val_if_fail (client != NULL, FALSE);
|
||||
g_return_val_if_fail (client->current != NULL, FALSE);
|
||||
|
||||
GST_M3U8_CLIENT_LOCK (client);
|
||||
GST_DEBUG ("Checking if has next fragment %" G_GINT64_FORMAT,
|
||||
|
|
Loading…
Reference in a new issue