Mercurial > libavformat.hg
comparison rtsp.c @ 5570:c1843162bd3d libavformat
Reindent after r21368.
author | rbultje |
---|---|
date | Thu, 21 Jan 2010 19:50:40 +0000 |
parents | 346dce85a801 |
children | 3fd13093ca7c |
comparison
equal
deleted
inserted
replaced
5569:346dce85a801 | 5570:c1843162bd3d |
---|---|
1588 | 1588 |
1589 if (!rt->need_subscription) { | 1589 if (!rt->need_subscription) { |
1590 if (memcmp (cache, rt->real_setup_cache, | 1590 if (memcmp (cache, rt->real_setup_cache, |
1591 sizeof(enum AVDiscard) * s->nb_streams)) { | 1591 sizeof(enum AVDiscard) * s->nb_streams)) { |
1592 snprintf(cmd, sizeof(cmd), | 1592 snprintf(cmd, sizeof(cmd), |
1593 "SET_PARAMETER %s RTSP/1.0\r\n" | 1593 "SET_PARAMETER %s RTSP/1.0\r\n" |
1594 "Unsubscribe: %s\r\n", | 1594 "Unsubscribe: %s\r\n", |
1595 s->filename, rt->last_subscription); | 1595 s->filename, rt->last_subscription); |
1596 rtsp_send_cmd(s, cmd, reply, NULL); | 1596 rtsp_send_cmd(s, cmd, reply, NULL); |
1597 if (reply->status_code != RTSP_STATUS_OK) | 1597 if (reply->status_code != RTSP_STATUS_OK) |
1598 return AVERROR_INVALIDDATA; | 1598 return AVERROR_INVALIDDATA; |
1599 rt->need_subscription = 1; | 1599 rt->need_subscription = 1; |
1600 } | 1600 } |