[FFmpeg-devel] [PATCH] insert missing newline at end of error log message
Andrew Ryan
andrewr at nam-shub.com
Wed Jan 4 18:21:35 CET 2012
In commit 1892052f, we introduced this error message, but the error
message lacks a newline at the end. There should be a newline at the
end of this error log message. This helps scripts that parse the output
of ffmpeg.
I verified this via email with Thierry Foucu, the author of the original
patch.
---
libavformat/mov.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 923fbdb..9db6aba 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1671,7 +1671,7 @@ static int mov_read_stts(MOVContext *c, AVIOContext *pb, MOVAtom atom)
sample_duration = avio_rb32(pb);
/* sample_duration < 0 is invalid based on the spec */
if (sample_duration < 0) {
- av_log(c->fc, AV_LOG_ERROR, "Invalid SampleDelta in STTS %d", sample_duration);
+ av_log(c->fc, AV_LOG_ERROR, "Invalid SampleDelta in STTS %d\n", sample_duration);
sample_duration = 1;
}
sc->stts_data[i].count= sample_count;
--
1.7.5.4
More information about the ffmpeg-devel
mailing list