Module: libav
Branch: master
Commit: 9034b0ed66c8f4a0da13947618503d575fc43957

Author:    Anton Khirnov <an...@khirnov.net>
Committer: Anton Khirnov <an...@khirnov.net>
Date:      Wed Jun 13 13:33:42 2012 +0200

avconv: don't try to free threads that were not initialized.

---

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

diff --git a/avconv.c b/avconv.c
index 2ed590d..9da8d8a 100644
--- a/avconv.c
+++ b/avconv.c
@@ -2827,7 +2827,7 @@ static void free_input_threads(void)
         InputFile *f = input_files[i];
         AVPacket pkt;
 
-        if (f->joined)
+        if (!f->fifo || f->joined)
             continue;
 
         pthread_mutex_lock(&f->fifo_lock);

_______________________________________________
libav-commits mailing list
libav-commits@libav.org
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to