aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2009-03-21 21:00:51 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2009-03-21 21:00:51 +0000
commit78f731de92414bf52405e74d69848b63d67ea66a (patch)
tree7bc0d8351542c50c9371174bc25a1682b03e8505
parent7d09a993d14c420ce53070312e77a224dbb4bc99 (diff)
downloadffmpeg-78f731de92414bf52405e74d69848b63d67ea66a.tar.gz
Reindent something where a if () --> { <-- is on a newline rather than on the
same line as the if. See summary in "[PATCH] rtsp.c small cleanups" thread on mailinglist. Originally committed as revision 18127 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/rtsp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 5100c978e6..cd5c3d8596 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -243,8 +243,7 @@ static const AttrNameMap attr_names[]=
int rtsp_next_attr_and_value(const char **p, char *attr, int attr_size, char *value, int value_size)
{
skip_spaces(p);
- if(**p)
- {
+ if(**p) {
get_word_sep(attr, attr_size, "=", p);
if (**p == '=')
(*p)++;