Christian d'Heureuse <[email protected]> added the comment:

Thanks for your comment. I have replaced the patch with one from the root 
directory.

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2139>
________________________________________________
Index: libavformat/utils.c
===================================================================
--- libavformat/utils.c	(revision 24650)
+++ libavformat/utils.c	(working copy)
@@ -3137,7 +3137,7 @@
             int secs, us;
             av_log(NULL, AV_LOG_INFO, ", start: ");
             secs = ic->start_time / AV_TIME_BASE;
-            us = ic->start_time % AV_TIME_BASE;
+            us = abs(ic->start_time % AV_TIME_BASE);
             av_log(NULL, AV_LOG_INFO, "%d.%06d",
                    secs, (int)av_rescale(us, 1000000, AV_TIME_BASE));
         }

Reply via email to