Commit 9034b0ed authored by Anton Khirnov's avatar Anton Khirnov

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

parent 8517e9c4
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment