X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fcodec%2Fcmml%2Fxtag.c;h=70fefb20ad7b9d1197d19da78e5ceeae3861114a;hb=6ee1e193fd896ab9a4729fde14f009d9ce629815;hp=15ebe855734c3ab7525f7a16d5659123c07089b0;hpb=3305b049e7f587b23359a1c9047fb5763d19c1dc;p=vlc diff --git a/modules/codec/cmml/xtag.c b/modules/codec/cmml/xtag.c index 15ebe85573..70fefb20ad 100644 --- a/modules/codec/cmml/xtag.c +++ b/modules/codec/cmml/xtag.c @@ -176,7 +176,7 @@ xtag_skip_to (XTagParser * parser, int char_class) } } - return; + return; } #endif @@ -609,7 +609,7 @@ xtag_snprints (char * buf, int n, ...) int len, to_copy, total = 0; va_start (ap, n); - + for (s = va_arg (ap, char *); s; s = va_arg (ap, char *)) { len = strlen (s); @@ -658,19 +658,19 @@ xtag_snprint (char * buf, int n, XTag * xtag) for (l = xtag->attributes; l; l = l->next) { attr = (XAttribute *)l->data; - + nn = xtag_snprints (buf, n, " ", attr->name, "=\"", attr->value, "\"", NULL); FORWARD(nn); } - + if (xtag->children == NULL) { nn = xtag_snprints (buf, n, "/>", NULL); FORWARD(nn); return written; } - + nn = xtag_snprints (buf, n, ">", NULL); FORWARD(nn); }