mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-21 17:21:13 +00:00
tests/onvif: silence a maybe-unitialized warning
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7875>
This commit is contained in:
parent
c0f4a855cc
commit
995dcb04e0
1 changed files with 3 additions and 0 deletions
|
@ -173,6 +173,9 @@ test_src_create (GstPushSrc * psrc, GstBuffer ** buffer)
|
||||||
case FRAME_TYPE_B:
|
case FRAME_TYPE_B:
|
||||||
buf_size = 5;
|
buf_size = 5;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
g_assert_not_reached ();
|
||||||
|
return GST_FLOW_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
*buffer = gst_buffer_new_allocate (NULL, buf_size, NULL);
|
*buffer = gst_buffer_new_allocate (NULL, buf_size, NULL);
|
||||||
|
|
Loading…
Reference in a new issue