[FFmpeg-cvslog] ffserver: Cast time_t value when using it in a format string.

Carl Eugen Hoyos git at videolan.org
Tue Dec 29 16:01:05 CET 2015


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Tue Dec 29 16:00:34 2015 +0100| [e5c16e38fe15a40b2d38bd7ab83e1243012a2077] | committer: Carl Eugen Hoyos

ffserver: Cast time_t value when using it in a format string.

Fixes ticket #5103.

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

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

diff --git a/ffserver.c b/ffserver.c
index 889dbd4..bc7dbee 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -3934,7 +3934,7 @@ static void handle_child_exit(int sig)
             fprintf(stderr,
                     "%s: Pid %"PRId64" exited with status %d after %"PRId64" "
                         "seconds\n",
-                    feed->filename, (int64_t) pid, status, uptime);
+                    feed->filename, (int64_t) pid, status, (int64_t)uptime);
 
             if (uptime < 30)
                 /* Turn off any more restarts */



More information about the ffmpeg-cvslog mailing list