[SCM] libav/experimental: Fix bug causing conversion to stop when output_packet() fails patch by (Patrice Bensoussan <patrice.bensoussan at free dot fr>)

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:41:03 UTC 2013


The following commit has been merged in the experimental branch:
commit a9aeda81e72fdc7c457645b231b7b05040944517
Author: Patrice Bensoussan <patrice.bensoussan at free.fr>
Date:   Sun Jul 25 00:22:20 2004 +0000

    Fix bug causing conversion to stop when output_packet() fails patch by (Patrice Bensoussan <patrice.bensoussan at free dot fr>)
    
    Originally committed as revision 3337 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/ffmpeg.c b/ffmpeg.c
index 7b6d7f2..0ab88d0 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1778,10 +1778,12 @@ static int av_encode(AVFormatContext **output_files,
     for(; received_sigterm == 0;) {
         int file_index, ist_index;
         AVPacket pkt;
-        double ipts_min= 1e100;
-        double opts_min= 1e100;
+        double ipts_min;
+        double opts_min;
 
     redo:
+        ipts_min= 1e100;
+        opts_min= 1e100;
         /* if 'q' pressed, exits */
         if (!using_stdin) {
             if (q_pressed)

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list