Mercurial > libavformat.hg
comparison rtsp.c @ 3961:a4528ac946e6 libavformat
Reindent after previous patches.
author | rbultje |
---|---|
date | Tue, 30 Sep 2008 13:27:19 +0000 |
parents | 13e9b0d3a314 |
children | 72efef66f566 |
comparison
equal
deleted
inserted
replaced
3960:13e9b0d3a314 | 3961:a4528ac946e6 |
---|---|
1339 s->filename); | 1339 s->filename); |
1340 for (i = 0; i < rt->nb_rtsp_streams; i++) { | 1340 for (i = 0; i < rt->nb_rtsp_streams; i++) { |
1341 if (i != 0) av_strlcat(cmd, ",", sizeof(cmd)); | 1341 if (i != 0) av_strlcat(cmd, ",", sizeof(cmd)); |
1342 ff_rdt_subscribe_rule(cmd, sizeof(cmd), i, 0); | 1342 ff_rdt_subscribe_rule(cmd, sizeof(cmd), i, 0); |
1343 if (rt->transport == RTSP_TRANSPORT_RDT) | 1343 if (rt->transport == RTSP_TRANSPORT_RDT) |
1344 ff_rdt_subscribe_rule2( | 1344 ff_rdt_subscribe_rule2( |
1345 rt->rtsp_streams[i]->rtp_ctx, | 1345 rt->rtsp_streams[i]->rtp_ctx, |
1346 cmd, sizeof(cmd), i, 0); | 1346 cmd, sizeof(cmd), i, 0); |
1347 } | 1347 } |
1348 av_strlcat(cmd, "\r\n", sizeof(cmd)); | 1348 av_strlcat(cmd, "\r\n", sizeof(cmd)); |
1349 rtsp_send_cmd(s, cmd, reply, NULL); | 1349 rtsp_send_cmd(s, cmd, reply, NULL); |
1350 if (reply->status_code != RTSP_STATUS_OK) | 1350 if (reply->status_code != RTSP_STATUS_OK) |
1351 return AVERROR_INVALIDDATA; | 1351 return AVERROR_INVALIDDATA; |