OSDN Git Service

ffplay: Continue if the file was appended to.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 10 Mar 2011 18:56:27 +0000 (19:56 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 10 Mar 2011 18:57:45 +0000 (19:57 +0100)
This is a bit experimental

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffplay.c

index c777843..169c78c 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -2568,6 +2568,7 @@ static int decode_thread(void *arg)
                     goto fail;
                 }
             }
+            eof=0;
             continue;
         }
         ret = av_read_frame(ic, pkt);