projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d422941
)
rtspconnection: Properly exit infinite loop
author
Edward Hervey
<edward@centricular.com>
Mon, 17 Dec 2018 07:58:21 +0000
(08:58 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Mon, 17 Dec 2018 11:21:01 +0000
(12:21 +0100)
In the unlikeliness the builder state is invalid, exit the
top-level while(TRUE) loop.
gst-libs/gst/rtsp/gstrtspconnection.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/rtsp/gstrtspconnection.c
b/gst-libs/gst/rtsp/gstrtspconnection.c
index
7926f59
..
48e17d6
100644
(file)
--- a/
gst-libs/gst/rtsp/gstrtspconnection.c
+++ b/
gst-libs/gst/rtsp/gstrtspconnection.c
@@
-2158,7
+2158,7
@@
build_next (GstRTSPBuilder * builder, GstRTSPMessage * message,
}
default:
res = GST_RTSP_ERROR;
-
break
;
+
goto done
;
}
}
done: