mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
rtpjitterbuffer: return correct type when assertion fails
This commit is contained in:
parent
55cb5c2889
commit
977a5eee7a
1 changed files with 2 additions and 2 deletions
|
@ -699,7 +699,7 @@ rtp_jitter_buffer_pop (RTPJitterBuffer * jbuf, gint * percent)
|
|||
{
|
||||
GstBuffer *buf;
|
||||
|
||||
g_return_val_if_fail (jbuf != NULL, FALSE);
|
||||
g_return_val_if_fail (jbuf != NULL, NULL);
|
||||
|
||||
buf = g_queue_pop_tail (jbuf->packets);
|
||||
|
||||
|
@ -727,7 +727,7 @@ rtp_jitter_buffer_peek (RTPJitterBuffer * jbuf)
|
|||
{
|
||||
GstBuffer *buf;
|
||||
|
||||
g_return_val_if_fail (jbuf != NULL, FALSE);
|
||||
g_return_val_if_fail (jbuf != NULL, NULL);
|
||||
|
||||
buf = g_queue_peek_tail (jbuf->packets);
|
||||
|
||||
|
|
Loading…
Reference in a new issue