Commit 154a730b authored by Fu Linjie's avatar Fu Linjie Committed by Mark Thompson

lavc/vp9_superframe_bsf: avoid error messages in one line

Add "\n" to avoid continuous error messages in one line.
Signed-off-by: 's avatarFu Linjie <linjie.fu@intel.com>
parent e1839283
...@@ -133,7 +133,7 @@ static int vp9_superframe_filter(AVBSFContext *ctx, AVPacket *out) ...@@ -133,7 +133,7 @@ static int vp9_superframe_filter(AVBSFContext *ctx, AVPacket *out)
if (uses_superframe_syntax && s->n_cache > 0) { if (uses_superframe_syntax && s->n_cache > 0) {
av_log(ctx, AV_LOG_ERROR, av_log(ctx, AV_LOG_ERROR,
"Mixing of superframe syntax and naked VP9 frames not supported"); "Mixing of superframe syntax and naked VP9 frames not supported\n");
res = AVERROR(ENOSYS); res = AVERROR(ENOSYS);
goto done; goto done;
} else if ((!invisible || uses_superframe_syntax) && !s->n_cache) { } else if ((!invisible || uses_superframe_syntax) && !s->n_cache) {
...@@ -142,7 +142,7 @@ static int vp9_superframe_filter(AVBSFContext *ctx, AVPacket *out) ...@@ -142,7 +142,7 @@ static int vp9_superframe_filter(AVBSFContext *ctx, AVPacket *out)
goto done; goto done;
} else if (s->n_cache + 1 >= MAX_CACHE) { } else if (s->n_cache + 1 >= MAX_CACHE) {
av_log(ctx, AV_LOG_ERROR, av_log(ctx, AV_LOG_ERROR,
"Too many invisible frames"); "Too many invisible frames\n");
res = AVERROR_INVALIDDATA; res = AVERROR_INVALIDDATA;
goto done; goto done;
} }
......
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