mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
Initialize some more vars.
This commit is contained in:
parent
5e32c22828
commit
1f35c93f0a
1 changed files with 2 additions and 0 deletions
|
@ -164,6 +164,8 @@ gst_rtsp_session_get_stream (GstRTSPSessionMedia *media, guint idx)
|
||||||
GstRTSPSessionStream *result;
|
GstRTSPSessionStream *result;
|
||||||
GList *walk;
|
GList *walk;
|
||||||
|
|
||||||
|
result = NULL;
|
||||||
|
|
||||||
for (walk = media->streams; walk; walk = g_list_next (walk)) {
|
for (walk = media->streams; walk; walk = g_list_next (walk)) {
|
||||||
result = (GstRTSPSessionStream *) walk->data;
|
result = (GstRTSPSessionStream *) walk->data;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue