ffmpeg: fix variable type for end char
fixes warning Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
2
ffmpeg.c
2
ffmpeg.c
@ -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);
|
av_bprintf(&buf_script, "drop_frames=%d\n", nb_frames_drop);
|
||||||
|
|
||||||
if (print_stats || is_last_report) {
|
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()) {
|
if (print_stats==1 && AV_LOG_INFO > av_log_get_level()) {
|
||||||
fprintf(stderr, "%s %c", buf, end);
|
fprintf(stderr, "%s %c", buf, end);
|
||||||
} else
|
} else
|
||||||
|
Reference in New Issue
Block a user