aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg_mux.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-04-18 10:53:12 +0200
committerAnton Khirnov <anton@khirnov.net>2023-04-24 16:56:06 +0200
commitab0d2052a3cfd14b616d1944fe11b66aab8ce2f8 (patch)
tree95dfb9abc9cdf321a54d26da0b9a456f67c7ef18 /fftools/ffmpeg_mux.c
parentecb44ca8777c0323c4ed00f64465a4072188c959 (diff)
downloadffmpeg-ab0d2052a3cfd14b616d1944fe11b66aab8ce2f8.tar.gz
fftools/ffmpeg: remove unused function arguments
Diffstat (limited to 'fftools/ffmpeg_mux.c')
-rw-r--r--fftools/ffmpeg_mux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fftools/ffmpeg_mux.c b/fftools/ffmpeg_mux.c
index fddb783b00..a19f1a1f1e 100644
--- a/fftools/ffmpeg_mux.c
+++ b/fftools/ffmpeg_mux.c
@@ -261,7 +261,7 @@ finish:
return ret == AVERROR_EOF ? 0 : ret;
}
-static int queue_packet(Muxer *mux, OutputStream *ost, AVPacket *pkt)
+static int queue_packet(OutputStream *ost, AVPacket *pkt)
{
MuxStream *ms = ms_from_ost(ost);
AVPacket *tmp_pkt = NULL;
@@ -311,7 +311,7 @@ static int submit_packet(Muxer *mux, AVPacket *pkt, OutputStream *ost)
return thread_submit_packet(mux, ost, pkt);
} else {
/* the muxer is not initialized yet, buffer the packet */
- ret = queue_packet(mux, ost, pkt);
+ ret = queue_packet(ost, pkt);
if (ret < 0) {
if (pkt)
av_packet_unref(pkt);