[FFmpeg-cvslog] ffmpeg: fix variable type for end char

Michael Niedermayer git at videolan.org
Wed Nov 19 05:15:42 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Nov 19 03:05:09 2014 +0100| [8b43b0e8b6c7672e0494d45aa5912f7359d26e83] | committer: Michael Niedermayer

ffmpeg: fix variable type for end char

fixes warning

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8b43b0e8b6c7672e0494d45aa5912f7359d26e83
---

 ffmpeg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index cad6a1b..eed778a 100644
--- a/ffmpeg.c
+++ b/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);
 
     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



More information about the ffmpeg-cvslog mailing list