Commit e909910d authored by Philipp Schafft's avatar Philipp Schafft 🦁
Browse files

Update: Fixed formating

parent 9a297de3
...@@ -113,9 +113,9 @@ void check_xiph_comment(stream_processor *stream, int i, const char *comment, in ...@@ -113,9 +113,9 @@ void check_xiph_comment(stream_processor *stream, int i, const char *comment, in
if (sep == NULL) { if (sep == NULL) {
warn(_("WARNING: Comment %d in stream %d has invalid " warn(_("WARNING: Comment %d in stream %d has invalid "
"format, does not contain '=': \"%s\"\n"), "format, does not contain '=': \"%s\"\n"),
i, stream->num, comment); i, stream->num, comment);
return; return;
} }
for (j=0; j < sep-comment; j++) { for (j=0; j < sep-comment; j++) {
...@@ -129,7 +129,7 @@ void check_xiph_comment(stream_processor *stream, int i, const char *comment, in ...@@ -129,7 +129,7 @@ void check_xiph_comment(stream_processor *stream, int i, const char *comment, in
} }
if (broken) if (broken)
return; return;
val = (unsigned char *)comment; val = (unsigned char *)comment;
...@@ -254,17 +254,17 @@ void check_xiph_comment(stream_processor *stream, int i, const char *comment, in ...@@ -254,17 +254,17 @@ void check_xiph_comment(stream_processor *stream, int i, const char *comment, in
j += bytes; j += bytes;
} }
if (!broken) { if (!broken) {
if (utf8_decode(sep+1, &decoded) < 0) { if (utf8_decode(sep+1, &decoded) < 0) {
warn(_("WARNING: Failure in UTF-8 decoder. This should not be possible\n")); warn(_("WARNING: Failure in UTF-8 decoder. This should not be possible\n"));
return; return;
} }
*sep = 0; *sep = 0;
if (!broken) { if (!broken) {
info("\t%s=%s\n", comment, decoded); info("\t%s=%s\n", comment, decoded);
free(decoded); free(decoded);
} }
} }
} }
static void free_stream_set(stream_set *set) static void free_stream_set(stream_set *set)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment