mirror of https://git.ffmpeg.org/ffmpeg.git
avconv: don't try to free threads that were not initialized.
This commit is contained in:
parent
8517e9c476
commit
9034b0ed66
2
avconv.c
2
avconv.c
|
@ -2827,7 +2827,7 @@ static void free_input_threads(void)
|
||||||
InputFile *f = input_files[i];
|
InputFile *f = input_files[i];
|
||||||
AVPacket pkt;
|
AVPacket pkt;
|
||||||
|
|
||||||
if (f->joined)
|
if (!f->fifo || f->joined)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
pthread_mutex_lock(&f->fifo_lock);
|
pthread_mutex_lock(&f->fifo_lock);
|
||||||
|
|
Loading…
Reference in New Issue