diff --git a/libavformat/utils.c b/libavformat/utils.c index be86a87fc1..f55e1e6de5 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -3812,7 +3812,7 @@ static void dump_metadata(void *ctx, AVDictionary *m, const char *indent) av_log(ctx, AV_LOG_INFO, "%s %-16s: ", indent, tag->key); while(*p) { char tmp[256]; - size_t len = strcspn(p, "\xd\xa"); + size_t len = strcspn(p, "\x8\xa\xb\xc\xd"); av_strlcpy(tmp, p, FFMIN(sizeof(tmp), len+1)); av_log(ctx, AV_LOG_INFO, "%s", tmp); p += len;