Module: libav
Branch: master
Commit: b9630bcf8215034f5a50e1f6835d4c4366413618

Author:    Alex Converse <[email protected]>
Committer: Alex Converse <[email protected]>
Date:      Tue Aug 23 13:47:31 2011 -0700

avconv: Replace goto redo on decode fail with continue.

This checks for sigterm but otherwise is identical to the previous
behavior.

---

 avconv.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/avconv.c b/avconv.c
index 6f1b237..57721f8 100644
--- a/avconv.c
+++ b/avconv.c
@@ -2246,7 +2246,6 @@ static int transcode(OutputFile *output_files,
         int64_t ipts_min;
         double opts_min;
 
-    redo:
         ipts_min = INT64_MAX;
         opts_min= 1e100;
 
@@ -2361,7 +2360,7 @@ static int transcode(OutputFile *output_files,
             if (exit_on_error)
                 exit_program(1);
             av_free_packet(&pkt);
-            goto redo;
+            continue;
         }
 
     discard_packet:

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to