Reindent something where a if () --> { <-- is on a newline rather than on the
authorRonald S. Bultje <rsbultje@gmail.com>
Sat, 21 Mar 2009 21:00:51 +0000 (21:00 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Sat, 21 Mar 2009 21:00:51 +0000 (21:00 +0000)
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

libavformat/rtsp.c

index 5100c97..cd5c3d8 100644 (file)
@@ -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)++;