1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

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

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