[FFmpeg-devel] [PATCH 09/12] fftools/ffmpeg: drop OutputFile.sq_encode

Anton Khirnov anton at khirnov.net
Wed Dec 13 21:30:04 EET 2023


It is unused since d119ae2fd82a494d9430ff4d4fc262961a68c598
---
 fftools/ffmpeg.h     | 2 --
 fftools/ffmpeg_mux.c | 1 -
 2 files changed, 3 deletions(-)

diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index 5c061ef0f4..b7ec6085d3 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -607,8 +607,6 @@ typedef struct OutputFile {
     OutputStream **streams;
     int         nb_streams;
 
-    SyncQueue *sq_encode;
-
     int64_t recording_time;  ///< desired length of the resulting file in microseconds == AV_TIME_BASE units
     int64_t start_time;      ///< start time in microseconds == AV_TIME_BASE units
 
diff --git a/fftools/ffmpeg_mux.c b/fftools/ffmpeg_mux.c
index 06db55a6d4..383ca4ecef 100644
--- a/fftools/ffmpeg_mux.c
+++ b/fftools/ffmpeg_mux.c
@@ -777,7 +777,6 @@ void of_free(OutputFile **pof)
         return;
     mux = mux_from_of(of);
 
-    sq_free(&of->sq_encode);
     sq_free(&mux->sq_mux);
 
     for (int i = 0; i < of->nb_streams; i++)
-- 
2.42.0



More information about the ffmpeg-devel mailing list