projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13479aa
)
rtspsrc: Don't dereference NULL if a suitable stream for the AUX element can't be...
author
Sebastian Dröge
<sebastian@centricular.com>
Thu, 18 Dec 2014 10:50:33 +0000
(11:50 +0100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Thu, 18 Dec 2014 10:51:12 +0000
(11:51 +0100)
CID 1258717
gst/rtsp/gstrtspsrc.c
patch
|
blob
|
history
diff --git
a/gst/rtsp/gstrtspsrc.c
b/gst/rtsp/gstrtspsrc.c
index
8fca9c4
..
fc3ab88
100644
(file)
--- a/
gst/rtsp/gstrtspsrc.c
+++ b/
gst/rtsp/gstrtspsrc.c
@@
-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);