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:
7a947e8
)
rtsp-client: Fix iteration
author
Edward Hervey
<bilboed@bilboed.com>
Thu, 19 Dec 2013 13:24:54 +0000
(14:24 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Thu, 19 Dec 2013 13:24:54 +0000
(14:24 +0100)
Wouldn't even enter the code block otherwise (i++ was used as the check
and not the postfix).
gst/rtsp-server/rtsp-client.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-client.c
b/gst/rtsp-server/rtsp-client.c
index
0822727
..
d1826cf
100644
(file)
--- a/
gst/rtsp-server/rtsp-client.c
+++ b/
gst/rtsp-server/rtsp-client.c
@@
-1752,7
+1752,7
@@
handle_describe_request (GstRTSPClient * client, GstRTSPContext * ctx)
/* check what kind of format is accepted, we don't really do anything with it
* and always return SDP for now. */
- for (i = 0;
i++;
) {
+ for (i = 0;
; i++
) {
gchar *accept;
res =