mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
Initialize variable to avoid compiler warning.
This commit is contained in:
parent
cd10a8c87e
commit
5e32c22828
1 changed files with 2 additions and 0 deletions
|
@ -110,6 +110,8 @@ gst_rtsp_session_get_media (GstRTSPSession *sess, GstRTSPMedia *media)
|
||||||
GstRTSPSessionMedia *result;
|
GstRTSPSessionMedia *result;
|
||||||
GList *walk;
|
GList *walk;
|
||||||
|
|
||||||
|
result = NULL;
|
||||||
|
|
||||||
for (walk = sess->medias; walk; walk = g_list_next (walk)) {
|
for (walk = sess->medias; walk; walk = g_list_next (walk)) {
|
||||||
result = (GstRTSPSessionMedia *) walk->data;
|
result = (GstRTSPSessionMedia *) walk->data;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue