Browse Source

Make sure "Last message repeated" is printed.

Originally committed as revision 24573 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Michael Niedermayer 15 years ago
parent
commit
fd3064b65e
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavutil/log.c

+ 1
- 0
libavutil/log.c View File

@@ -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){


Loading…
Cancel
Save