summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-03-21 16:51:13 +0100
committerAnton Khirnov <anton@khirnov.net>2022-08-08 16:20:58 +0200
commitc3b8d59d2f40550369dbfb2505f2f8415f1e37ec (patch)
treeeb91b2d05a47b16c3348f1cb729c37225ded5435
parentd8bf53710ffcb4abd5131f7faedf4aab240ef3d9 (diff)
fftools/ffmpeg: drop a write-only variable
-rw-r--r--fftools/ffmpeg.c1
-rw-r--r--fftools/ffmpeg.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index b7b506b85f..46de9ce40b 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -3696,7 +3696,6 @@ static void free_input_thread(int i)
av_packet_free(&pkt);
pthread_join(f->thread, NULL);
- f->joined = 1;
av_thread_message_queue_free(&f->in_thread_queue);
}
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index 23b249780b..fc082bfbea 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -437,7 +437,6 @@ typedef struct InputFile {
AVThreadMessageQueue *in_thread_queue;
pthread_t thread; /* thread reading from this file */
int non_blocking; /* reading packets from the thread should not block */
- int joined; /* the thread has been joined */
int thread_queue_size; /* maximum number of queued packets */
} InputFile;