mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
rtspsrc: Avoid potentially dereferencing NULL pointer
CID 1418986
This commit is contained in:
parent
6cb51bd8cf
commit
fb952e3470
1 changed files with 2 additions and 1 deletions
|
@ -5746,7 +5746,8 @@ gst_rtspsrc_send (GstRTSPSrc * src, GstRTSPConnInfo * conninfo,
|
|||
break;
|
||||
case GST_RTSP_STS_RTSP_VERSION_NOT_SUPPORTED:
|
||||
GST_INFO_OBJECT (src, "Version %s not supported by the server",
|
||||
gst_rtsp_version_as_text (versions[version_retry]));
|
||||
versions ? gst_rtsp_version_as_text (versions[version_retry]) :
|
||||
"unknown");
|
||||
if (versions && versions[version_retry] != GST_RTSP_VERSION_INVALID) {
|
||||
GST_INFO_OBJECT (src, "Unsupported version %s => trying %s",
|
||||
gst_rtsp_version_as_text (request->type_data.request.version),
|
||||
|
|
Loading…
Reference in a new issue