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

This commit is contained in:
Anton Khirnov 2012-06-13 13:33:42 +02:00
parent 8517e9c476
commit 9034b0ed66
1 changed files with 1 additions and 1 deletions

View File

@ -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);