Skip to content

Commit

Permalink
Make sure "Last message repeated" is printed.
Browse files Browse the repository at this point in the history
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@24573 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
  • Loading branch information
michael committed Jul 28, 2010
1 parent 37d85e0 commit 62c539a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libavutil/log.c
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit 62c539a

Please sign in to comment.