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

pull/59/head
Anton Khirnov 13 years ago
parent 8517e9c476
commit 9034b0ed66
  1. 2
      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);

Loading…
Cancel
Save