diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2020-07-01 21:51:03 +0800 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2020-07-02 21:12:37 +0800 |
commit | af5751940e022a5216880fb89f69ef641aa1dee9 (patch) | |
tree | db38858f773b42a57f5e90589c01743be15ea71e | |
parent | 49054fe94c2f36881f63d15eca6e4bfb7f71b8ce (diff) | |
download | ffmpeg-af5751940e022a5216880fb89f69ef641aa1dee9.tar.gz |
avformat/dump: add a \n for end of ERROR log
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
-rw-r--r-- | libavformat/dump.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavformat/dump.c b/libavformat/dump.c index 1083d7db37..aacc0c111c 100644 --- a/libavformat/dump.c +++ b/libavformat/dump.c @@ -211,7 +211,7 @@ static void dump_paramchange(void *ctx, const AVPacketSideData *sd) return; fail: - av_log(ctx, AV_LOG_ERROR, "unknown param"); + av_log(ctx, AV_LOG_ERROR, "unknown param\n"); } /* replaygain side data*/ @@ -240,7 +240,7 @@ static void dump_replaygain(void *ctx, const AVPacketSideData *sd) const AVReplayGain *rg; if (sd->size < sizeof(*rg)) { - av_log(ctx, AV_LOG_ERROR, "invalid data"); + av_log(ctx, AV_LOG_ERROR, "invalid data\n"); return; } rg = (const AVReplayGain *)sd->data; @@ -256,7 +256,7 @@ static void dump_stereo3d(void *ctx, const AVPacketSideData *sd) const AVStereo3D *stereo; if (sd->size < sizeof(*stereo)) { - av_log(ctx, AV_LOG_ERROR, "invalid data"); + av_log(ctx, AV_LOG_ERROR, "invalid data\n"); return; } @@ -273,7 +273,7 @@ static void dump_audioservicetype(void *ctx, const AVPacketSideData *sd) const enum AVAudioServiceType *ast = (const enum AVAudioServiceType *)sd->data; if (sd->size < sizeof(*ast)) { - av_log(ctx, AV_LOG_ERROR, "invalid data"); + av_log(ctx, AV_LOG_ERROR, "invalid data\n"); return; } @@ -316,7 +316,7 @@ static void dump_cpb(void *ctx, const AVPacketSideData *sd) const AVCPBProperties *cpb = (const AVCPBProperties *)sd->data; if (sd->size < sizeof(*cpb)) { - av_log(ctx, AV_LOG_ERROR, "invalid data"); + av_log(ctx, AV_LOG_ERROR, "invalid data\n"); return; } @@ -369,7 +369,7 @@ static void dump_spherical(void *ctx, const AVCodecParameters *par, double yaw, pitch, roll; if (sd->size < sizeof(*spherical)) { - av_log(ctx, AV_LOG_ERROR, "invalid data"); + av_log(ctx, AV_LOG_ERROR, "invalid data\n"); return; } |