From 9034b0ed66c8f4a0da13947618503d575fc43957 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 13 Jun 2012 13:33:42 +0200 Subject: [PATCH] avconv: don't try to free threads that were not initialized. --- avconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.7.4