Skip to content
Snippets Groups Projects
Commit fd3064b6 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

Make sure "Last message repeated" is printed.

Originally committed as revision 24573 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ed80ba74
No related branches found
No related tags found
No related merge requests found
...@@ -105,6 +105,7 @@ void av_log_default_callback(void* ptr, int level, const char* fmt, va_list vl) ...@@ -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'; print_prefix= line[strlen(line)-1] == '\n';
if(print_prefix && !strcmp(line, prev)){ if(print_prefix && !strcmp(line, prev)){
count++; count++;
fprintf(stderr, " Last message repeated %d times\r", count);
return; return;
} }
if(count>0){ if(count>0){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment