changeset 4778:dd4e4ba1535f libavformat

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.
author rbultje
date Sat, 21 Mar 2009 21:00:51 +0000
parents 31678a2764ee
children 52b8ffbf5d28
files rtsp.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rtsp.c	Sat Mar 21 20:59:59 2009 +0000
+++ b/rtsp.c	Sat Mar 21 21:00:51 2009 +0000
@@ -243,8 +243,7 @@
 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)++;