mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
rtsp-client: Fix iteration
Wouldn't even enter the code block otherwise (i++ was used as the check and not the postfix).
This commit is contained in:
parent
7a947e8dfe
commit
d3237dc9dc
1 changed files with 1 additions and 1 deletions
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue