summaryrefslogtreecommitdiff
path: root/libavutil/log.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-07-28 12:08:26 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-07-28 12:08:26 +0000
commitfd3064b65eea26eaee94ae49de0d70fa26b8c877 (patch)
tree9a3a69644c096c1438ff1dfb9fa72ef141aa270c /libavutil/log.c
parented80ba74615ffe413437a6cb9101924a1e98da7d (diff)
Make sure "Last message repeated" is printed.
Originally committed as revision 24573 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/log.c')
-rw-r--r--libavutil/log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/log.c b/libavutil/log.c
index 9b493367e4..2e225b3b50 100644
--- a/libavutil/log.c
+++ b/libavutil/log.c
@@ -105,6 +105,7 @@ void av_log_default_callback(void* ptr, int level, const char* fmt, va_list vl)
print_prefix= line[strlen(line)-1] == '\n';
if(print_prefix && !strcmp(line, prev)){
count++;
+ fprintf(stderr, " Last message repeated %d times\r", count);
return;
}
if(count>0){