mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
rtspsrc: Don't dereference NULL if a suitable stream for the AUX element can't be found
CID 1258717
This commit is contained in:
parent
13479aa390
commit
d18b893d28
1 changed files with 4 additions and 0 deletions
|
@ -3136,6 +3136,10 @@ request_aux_receiver (GstElement * rtpbin, guint sessid, GstRTSPSrc * src)
|
|||
GstRTSPStream *stream;
|
||||
|
||||
stream = find_stream (src, &sessid, (gpointer) find_stream_by_id);
|
||||
if (!stream) {
|
||||
GST_WARNING_OBJECT (src, "Stream %u not found", sessid);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
GST_INFO_OBJECT (src, "creating retransmision receiver for session %u "
|
||||
"with map %" GST_PTR_FORMAT, sessid, stream->rtx_pt_map);
|
||||
|
|
Loading…
Reference in a new issue