projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd10a8c
)
Initialize variable to avoid compiler warning.
author
Wim Taymans
<wim@metal.(none)>
Thu, 23 Oct 2008 10:14:55 +0000
(12:14 +0200)
committer
Wim Taymans
<wim@metal.(none)>
Thu, 23 Oct 2008 10:14:55 +0000
(12:14 +0200)
src/rtsp-session.c
patch
|
blob
|
history
diff --git
a/src/rtsp-session.c
b/src/rtsp-session.c
index
7893632
..
a7cf3ee
100644
(file)
--- a/
src/rtsp-session.c
+++ b/
src/rtsp-session.c
@@
-110,6
+110,8
@@
gst_rtsp_session_get_media (GstRTSPSession *sess, GstRTSPMedia *media)
GstRTSPSessionMedia *result;
GList *walk;
+ result = NULL;
+
for (walk = sess->medias; walk; walk = g_list_next (walk)) {
result = (GstRTSPSessionMedia *) walk->data;