ffmpeg: fix variable type for end char

fixes warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-11-19 03:05:09 +01:00
parent 873dac50f5
commit 8b43b0e8b6
1 changed files with 1 additions and 1 deletions

View File

@ -1496,7 +1496,7 @@ static void print_report(int is_last_report, int64_t timer_start, int64_t cur_ti
av_bprintf(&buf_script, "drop_frames=%d\n", nb_frames_drop);
if (print_stats || is_last_report) {
const char *end = is_last_report ? '\n' : '\r';
const char end = is_last_report ? '\n' : '\r';
if (print_stats==1 && AV_LOG_INFO > av_log_get_level()) {
fprintf(stderr, "%s %c", buf, end);
} else