From: Anton Khirnov Date: Wed, 13 Jun 2012 11:33:42 +0000 (+0200) Subject: avconv: don't try to free threads that were not initialized. X-Git-Tag: v9_beta1~1462 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9034b0ed66c8f4a0da13947618503d575fc43957;p=platform%2Fupstream%2Flibav.git avconv: don't try to free threads that were not initialized. --- 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);