]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Reindent something where a if () --> { <-- is on a newline rather than on the
authorrbultje <rbultje@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 21 Mar 2009 21:00:51 +0000 (21:00 +0000)
committerrbultje <rbultje@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18127 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavformat/rtsp.c

index 5100c978e6879ece0abb823ad190a21950cf8bd3..cd5c3d8596ed0b77ceb420ff8b934bd48aebad9f 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)++;