mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
mounts: add g_return_if guards
This commit is contained in:
parent
46f8692087
commit
b4c168c71d
1 changed files with 3 additions and 0 deletions
|
@ -120,6 +120,9 @@ gst_rtsp_mount_points_find_factory (GstRTSPMountPoints * mounts,
|
|||
GstRTSPMediaFactory *result;
|
||||
GstRTSPMountPointsClass *klass;
|
||||
|
||||
g_return_val_if_fail (GST_IS_RTSP_MOUNT_POINTS (mounts), NULL);
|
||||
g_return_val_if_fail (url != NULL, NULL);
|
||||
|
||||
klass = GST_RTSP_MOUNT_POINTS_GET_CLASS (mounts);
|
||||
|
||||
if (klass->find_factory)
|
||||
|
|
Loading…
Reference in a new issue