---
 avconv.c        | 2 +-
 doc/avconv.texi | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/avconv.c b/avconv.c
index c52f292..7719f74 100644
--- a/avconv.c
+++ b/avconv.c
@@ -2376,7 +2376,7 @@ static int process_input(void)
         ifile->eagain = 1;
         return ret;
     }
-    if ((ret < 0) && (ifile->loop > 1)) {
+    if ((ret < 0) && ifile->loop) {
         if ((ret = seek_to_start(ifile, is)) < 0)
             return ret;
         ret = get_input_packet(ifile, &pkt);
diff --git a/doc/avconv.texi b/doc/avconv.texi
index bee2039..3243160 100644
--- a/doc/avconv.texi
+++ b/doc/avconv.texi
@@ -254,7 +254,8 @@ Overwrite output files without asking.
 Immediately exit when output files already exist.
 
 @item -loop @var{number} (@emph{input})
-Set number of times input stream shall be looped.
+Set number of times input stream shall be looped. Loop 0 means no loop,
+any negative value means infinite loop.
 
 @item -c[:@var{stream_specifier}] @var{codec} (@emph{input/output,per-stream})
 @itemx -codec[:@var{stream_specifier}] @var{codec} 
(@emph{input/output,per-stream})
-- 
2.0.1

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

Reply via email to