[SCM] libav/experimental: fixing bitrate display if -acodec copy is used, patch by (Kareila <cokewench at yahoo dot com>)

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:33:45 UTC 2013


The following commit has been merged in the experimental branch:
commit 5d9827bcf62a543d95ea27469e3e06153f352cda
Author: Kareila <cokewench at yahoo.com>
Date:   Sat Oct 26 19:23:22 2002 +0000

    fixing bitrate display if -acodec copy is used, patch by (Kareila <cokewench at yahoo dot com>)
    
    Originally committed as revision 1074 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/ffmpeg.c b/ffmpeg.c
index b712c90..d8c7d68 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -699,7 +699,7 @@ void print_report(AVFormatContext **output_files,
         }
         /* compute min output value */
         pts = (double)ost->st->pts.val * os->pts_num / os->pts_den;
-        if (pts < ti1)
+        if ((pts < ti1) && (pts > 0))
             ti1 = pts;
     }
     if (ti1 < 0.01)

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list